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.

31 lines
1.4 KiB

  1. <openerp>
  2. <data>
  3. <record id="view_partner_form_firstname" model="ir.ui.view">
  4. <field name="name">res.partner.form.firstname</field>
  5. <field name="model">res.partner</field>
  6. <field name="inherit_id" ref="base.view_partner_form"/>
  7. <field name="arch" type="xml">
  8. <xpath expr="//page[@string='Contacts']//field[@name='mobile']" position="after">
  9. <label for="type"/>
  10. <div colspan="2">
  11. <field name="type"/>
  12. <label for="street" string="Address"/>
  13. <field name="street" placeholder="Street..."/>
  14. <field name="street2"/>
  15. <div class="address_format">
  16. <field name="city" placeholder="City" style="width: 40%%"/>
  17. <field name="state_id" class="oe_no_button" placeholder="State" style="width: 37%%" options='{"no_open": True}' on_change="onchange_state(state_id)"/>
  18. <field name="zip" placeholder="ZIP" style="width: 20%%"/>
  19. </div>
  20. <field name="country_id" placeholder="Country" class="oe_no_button" options='{"no_open": True}'/>
  21. </div>
  22. <field name="website" widget="url" placeholder="e.g. www.openerp.com"/>
  23. <field name="fax"/>
  24. <field name="email" widget="email"/>
  25. <field name="title" domain="[('domain', '=', 'contact')]"
  26. options='{"no_open": True}' />
  27. </xpath>
  28. </field>
  29. </record>
  30. </data>
  31. </openerp>