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.

81 lines
2.8 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_tree_view_leads" model="ir.ui.view">
  25. <field name="name">crm_phone.crm_lead.tree</field>
  26. <field name="model">crm.lead</field>
  27. <field name="inherit_id" ref="crm.crm_case_tree_view_leads"/>
  28. <field name="arch" type="xml">
  29. <field name="phone" position="attributes">
  30. <attribute name="widget">phone</attribute>
  31. </field>
  32. </field>
  33. </record>
  34. <record id="crm_case_form_view_oppor" model="ir.ui.view">
  35. <field name="name">crm_phone.case.view_opportuniy.form</field>
  36. <field name="model">crm.lead</field>
  37. <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
  38. <field name="arch" type="xml">
  39. <field name="phone" position="attributes">
  40. <attribute name="widget">phone</attribute>
  41. </field>
  42. <field name="mobile" position="attributes">
  43. <attribute name="widget">phone</attribute>
  44. </field>
  45. <field name="fax" position="attributes">
  46. <attribute name="widget">fax</attribute>
  47. </field>
  48. </field>
  49. </record>
  50. <record id="crm_case_phone_form_view" model="ir.ui.view">
  51. <field name="name">crm_phone.crm_phonecall.form</field>
  52. <field name="model">crm.phonecall</field>
  53. <field name="inherit_id" ref="crm.crm_case_phone_form_view"/>
  54. <field name="arch" type="xml">
  55. <field name="partner_phone" position="attributes">
  56. <attribute name="widget">phone</attribute>
  57. </field>
  58. <field name="partner_mobile" position="attributes">
  59. <attribute name="widget">phone</attribute>
  60. </field>
  61. </field>
  62. </record>
  63. <record id="crm_case_phone_tree_view" model="ir.ui.view">
  64. <field name="name">crm_phone.crm_phonecall.tree</field>
  65. <field name="model">crm.phonecall</field>
  66. <field name="inherit_id" ref="crm.crm_case_phone_tree_view"/>
  67. <field name="arch" type="xml">
  68. <field name="partner_phone" position="attributes">
  69. <attribute name="widget">phone</attribute>
  70. </field>
  71. </field>
  72. </record>
  73. </data>
  74. </openerp>