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
1.0 KiB

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