You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
921 B

  1. <?xml version="1.0"?>
  2. <odoo>
  3. <!-- Add cities to the State form -->
  4. <record model="ir.ui.view" id="view_country_state_form2">
  5. <field name="name">view_country_state_form2</field>
  6. <field name="model">res.country.state</field>
  7. <field name="inherit_id" ref="base.view_country_state_form"/>
  8. <field name="arch" type="xml">
  9. <field name="country_id" position="after">
  10. <field name="better_zip_ids"
  11. context="{'country_id': country_id}"
  12. colspan="2"
  13. nolabel="1">
  14. <tree editable="top">
  15. <field name="name"/>
  16. <field name="code"/>
  17. <field name="city"/>
  18. <field name="country_id"/>
  19. </tree>
  20. </field>
  21. </field>
  22. </field>
  23. </record>
  24. </odoo>