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.

69 lines
2.7 KiB

10 years ago
10 years ago
10 years ago
10 years ago
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" placeholder="Capital country"
  11. options='{"no_open": True}'/>
  12. <field name="capital_registered"/>
  13. <field name="turnover_range" placeholder="Turnover range"
  14. options='{"no_open": True}'/>
  15. <field name="turnover_number"/>
  16. </field>
  17. </field>
  18. </record>
  19. <record model="ir.ui.view" id="view_crm_case_leads_filter_capital">
  20. <field name="name">CRM - Leads Search with capital</field>
  21. <field name="model">crm.lead</field>
  22. <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
  23. <field name="arch" type="xml">
  24. <filter string="Sales Team" position="after">
  25. <filter string="Capital country"
  26. domain="[]"
  27. context="{'group_by': 'capital_country'}"/>
  28. <filter string="Turnover"
  29. domain="[]"
  30. context="{'group_by': 'turnover_number'}"/>
  31. </filter>
  32. </field>
  33. </record>
  34. <record model="ir.ui.view" id="crm_case_form_view_oppor_capital">
  35. <field name="name">CRM - Leads Form with capital info</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="partner_id" position="before">
  40. <field name="capital_country" placeholder="Capital country"
  41. options='{"no_open": True}'/>
  42. <field name="capital_registered"/>
  43. <field name="turnover_range" placeholder="Turnover range"
  44. options='{"no_open": True}'/>
  45. <field name="turnover_number"/>
  46. </field>
  47. </field>
  48. </record>
  49. <record model="ir.ui.view" id="view_crm_case_opportunities_filter_capital">
  50. <field name="name">CRM - Leads Search with capital</field>
  51. <field name="model">crm.lead</field>
  52. <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
  53. <field name="arch" type="xml">
  54. <filter string="Sales Team" position="after">
  55. <filter string="Capital country"
  56. domain="[]"
  57. context="{'group_by': 'capital_country'}"/>
  58. <filter string="Turnover"
  59. domain="[]"
  60. context="{'group_by': 'turnover_number'}"/>
  61. </filter>
  62. </field>
  63. </record>
  64. </data>
  65. </openerp>