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.

65 lines
2.4 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="crm_case_form_view_leads_capital">
  5. <field name="name">CRM - Leads Form with capital info</field>
  6. <field name="model">crm.lead</field>
  7. <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
  8. <field name="arch" type="xml">
  9. <field name="partner_id" position="before">
  10. <field name="capital_country"/>
  11. <field name="capital_registered"/>
  12. <field name="turnover_range"/>
  13. <field name="turnover_number"/>
  14. </field>
  15. </field>
  16. </record>
  17. <record model="ir.ui.view" id="view_crm_case_leads_filter_capital">
  18. <field name="name">CRM - Leads Search with capital</field>
  19. <field name="model">crm.lead</field>
  20. <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
  21. <field name="arch" type="xml">
  22. <filter string="Sales Team" position="after">
  23. <filter string="Capital country"
  24. domain="[]"
  25. context="{'group_by': 'capital_country'}"/>
  26. <filter string="Turnover"
  27. domain="[]"
  28. context="{'group_by': 'turnover_number'}"/>
  29. </filter>
  30. </field>
  31. </record>
  32. <record model="ir.ui.view" id="crm_case_form_view_oppor_capital">
  33. <field name="name">CRM - Leads Form with capital info</field>
  34. <field name="model">crm.lead</field>
  35. <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
  36. <field name="arch" type="xml">
  37. <field name="partner_id" position="before">
  38. <field name="capital_country"/>
  39. <field name="capital_registered"/>
  40. <field name="turnover_range"/>
  41. <field name="turnover_number"/>
  42. </field>
  43. </field>
  44. </record>
  45. <record model="ir.ui.view" id="view_crm_case_opportunities_filter_capital">
  46. <field name="name">CRM - Leads Search with capital</field>
  47. <field name="model">crm.lead</field>
  48. <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
  49. <field name="arch" type="xml">
  50. <filter string="Sales Team" position="after">
  51. <filter string="Capital country"
  52. domain="[]"
  53. context="{'group_by': 'capital_country'}"/>
  54. <filter string="Turnover"
  55. domain="[]"
  56. context="{'group_by': 'turnover_number'}"/>
  57. </filter>
  58. </field>
  59. </record>
  60. </data>
  61. </openerp>