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.

38 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Base Phone module for OpenERP
  4. Copyright (C) 2010-2014 Alexis de Lattre <alexis@via.ecp.fr>
  5. The licence is in the file __openerp__.py
  6. -->
  7. <openerp>
  8. <data>
  9. <record id="view_partner_form" model="ir.ui.view">
  10. <field name="name">base.phone.res.partner.form</field>
  11. <field name="model">res.partner</field>
  12. <field name="inherit_id" ref="base.view_partner_form"/>
  13. <field name="arch" type="xml">
  14. <xpath expr="//group/group/field[@name='fax']" position="attributes">
  15. <attribute name="widget">fax</attribute>
  16. </xpath>
  17. </field>
  18. </record>
  19. <record id="view_partner_tree" model="ir.ui.view">
  20. <field name="name">base_phone.phone.widget.partner.tree</field>
  21. <field name="model">res.partner</field>
  22. <field name="inherit_id" ref="base.view_partner_tree"/>
  23. <field name="arch" type="xml">
  24. <field name="phone" position="attributes">
  25. <attribute name="widget">phone</attribute>
  26. </field>
  27. </field>
  28. </record>
  29. <record id="base.action_partner_form" model="ir.actions.act_window">
  30. <field name="context">{'search_default_customer':1, 'raise_if_phone_parse_fails': True}</field>
  31. </record>
  32. </data>
  33. </openerp>