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.

37 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. © 2010-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo>
  7. <data>
  8. <record id="view_partner_form" model="ir.ui.view">
  9. <field name="name">base.phone.res.partner.form</field>
  10. <field name="model">res.partner</field>
  11. <field name="inherit_id" ref="base.view_partner_form"/>
  12. <field name="arch" type="xml">
  13. <xpath expr="//group/group/field[@name='fax']" position="attributes">
  14. <attribute name="widget">fax</attribute>
  15. </xpath>
  16. </field>
  17. </record>
  18. <record id="view_partner_tree" model="ir.ui.view">
  19. <field name="name">base_phone.phone.widget.partner.tree</field>
  20. <field name="model">res.partner</field>
  21. <field name="inherit_id" ref="base.view_partner_tree"/>
  22. <field name="arch" type="xml">
  23. <field name="phone" position="attributes">
  24. <attribute name="widget">phone</attribute>
  25. </field>
  26. </field>
  27. </record>
  28. <record id="base.action_partner_form" model="ir.actions.act_window">
  29. <field name="context">{'search_default_customer': 1, 'raise_if_phone_parse_fails': True}</field>
  30. </record>
  31. </data>
  32. </odoo>