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.

59 lines
2.0 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2014 Alexis de Lattre <alexis@via.ecp.fr>
  4. The licence is in the file __openerp__.py
  5. -->
  6. <openerp>
  7. <data>
  8. <record id="crm_case_form_view_leads" model="ir.ui.view">
  9. <field name="name">crm_phone.crm_lead.form</field>
  10. <field name="model">crm.lead</field>
  11. <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
  12. <field name="arch" type="xml">
  13. <field name="phone" position="attributes">
  14. <attribute name="widget">phone</attribute>
  15. </field>
  16. <field name="mobile" position="attributes">
  17. <attribute name="widget">phone</attribute>
  18. </field>
  19. <field name="fax" position="attributes">
  20. <attribute name="widget">fax</attribute>
  21. </field>
  22. </field>
  23. </record>
  24. <record id="crm_case_form_view_oppor" model="ir.ui.view">
  25. <field name="name">crm_phone.case.view_opportuniy.form</field>
  26. <field name="model">crm.lead</field>
  27. <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
  28. <field name="arch" type="xml">
  29. <field name="phone" position="attributes">
  30. <attribute name="widget">phone</attribute>
  31. </field>
  32. <field name="mobile" position="attributes">
  33. <attribute name="widget">phone</attribute>
  34. </field>
  35. <field name="fax" position="attributes">
  36. <attribute name="widget">fax</attribute>
  37. </field>
  38. </field>
  39. </record>
  40. <record id="crm_case_phone_form_view" model="ir.ui.view">
  41. <field name="name">crm_phone.crm_phonecall.form</field>
  42. <field name="model">crm.phonecall</field>
  43. <field name="inherit_id" ref="crm.crm_case_phone_form_view"/>
  44. <field name="arch" type="xml">
  45. <field name="partner_phone" position="attributes">
  46. <attribute name="widget">phone</attribute>
  47. </field>
  48. <field name="partner_mobile" position="attributes">
  49. <attribute name="widget">phone</attribute>
  50. </field>
  51. </field>
  52. </record>
  53. </data>
  54. </openerp>