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.

43 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. <data>
  9. <xpath expr="//field[@name='function']" position="after">
  10. <field name="fax"/>
  11. </xpath>
  12. </data>
  13. </field>
  14. </record>
  15. <record id="view_partner_short_form_fax" model="ir.ui.view">
  16. <field name="name">Add fax on partner</field>
  17. <field name="model">res.partner</field>
  18. <field name="inherit_id" ref="base.view_partner_short_form"/>
  19. <field name="arch" type="xml">
  20. <data>
  21. <xpath expr="//field[@name='function']" position="after">
  22. <field name="fax" widget="phone"/>
  23. </xpath>
  24. </data>
  25. </field>
  26. </record>
  27. <record id="view_partner_form_fax" model="ir.ui.view">
  28. <field name="name">Add fax on partner</field>
  29. <field name="model">res.partner</field>
  30. <field name="inherit_id" ref="base.view_partner_form"/>
  31. <field name="arch" type="xml">
  32. <data>
  33. <xpath expr="//field[@name='function']" position="after">
  34. <field name="fax" widget="phone"/>
  35. </xpath>
  36. </data>
  37. </field>
  38. </record>
  39. </odoo>