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.

40 lines
1.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="view_partner_simple_form_fax" model="ir.ui.view">
  4. <field name="name">Add fax on partner</field>
  5. <field name="model">res.partner</field>
  6. <field name="inherit_id" ref="base.view_partner_simple_form"/>
  7. <field name="arch" type="xml">
  8. <field name="mobile" position="after">
  9. <field name="fax" placeholder="Fax..."/>
  10. </field>
  11. </field>
  12. </record>
  13. <record id="view_partner_short_form_fax" model="ir.ui.view">
  14. <field name="name">Add fax on partner</field>
  15. <field name="model">res.partner</field>
  16. <field name="inherit_id" ref="base.view_partner_short_form"/>
  17. <field name="arch" type="xml">
  18. <field name="mobile" position="after">
  19. <field name="fax" placeholder="Fax..." widget="phone"/>
  20. </field>
  21. </field>
  22. </record>
  23. <record id="view_partner_form_fax" model="ir.ui.view">
  24. <field name="name">Add fax on partner</field>
  25. <field name="model">res.partner</field>
  26. <field name="inherit_id" ref="base.view_partner_form"/>
  27. <field name="arch" type="xml">
  28. <field name="mobile" position="after">
  29. <field name="fax" placeholder="Fax..." widget="phone"/>
  30. </field>
  31. <xpath expr="//field[@name='child_ids']/form//field[@name='mobile']" position="after">
  32. <field name="fax" placeholder="Fax..." widget="phone"/>
  33. </xpath>
  34. </field>
  35. </record>
  36. </odoo>