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.

20 lines
693 B

  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <!-- Add cities to the company form -->
  5. <record id="view_company_form_city" model="ir.ui.view">
  6. <field name="name">res.company.form.city</field>
  7. <field name="model">res.company</field>
  8. <field name="inherit_id" ref="base.view_company_form"/>
  9. <field name="arch" type="xml">
  10. <field name="street2" position="after">
  11. <field name="better_zip_id"
  12. options="{'create_name_field': 'city'}"
  13. colspan="4"
  14. on_change="on_change_city(better_zip_id)"
  15. placeholder="City completion" />
  16. </field>
  17. </field>
  18. </record>
  19. </data>
  20. </openerp>