|
@ -1,8 +1,8 @@ |
|
|
<?xml version="1.0"?> |
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<openerp> |
|
|
<openerp> |
|
|
<data> |
|
|
|
|
|
|
|
|
<data> |
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="crm_case_form_view_leads_capital"> |
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="crm_case_form_view_leads_capital"> |
|
|
<field name="name">CRM - Leads Form with capital info</field> |
|
|
<field name="name">CRM - Leads Form with capital info</field> |
|
|
<field name="model">crm.lead</field> |
|
|
<field name="model">crm.lead</field> |
|
|
<field name="inherit_id" ref="crm.crm_case_form_view_leads"/> |
|
|
<field name="inherit_id" ref="crm.crm_case_form_view_leads"/> |
|
@ -10,11 +10,29 @@ |
|
|
<field name="partner_id" position="before"> |
|
|
<field name="partner_id" position="before"> |
|
|
<field name="capital_country"/> |
|
|
<field name="capital_country"/> |
|
|
<field name="capital_registered"/> |
|
|
<field name="capital_registered"/> |
|
|
|
|
|
<field name="turnover_range"/> |
|
|
|
|
|
<field name="turnover_number"/> |
|
|
</field> |
|
|
</field> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
|
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="crm_case_form_view_oppor_capital"> |
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_crm_case_leads_filter_capital"> |
|
|
|
|
|
<field name="name">CRM - Leads Search with capital</field> |
|
|
|
|
|
<field name="model">crm.lead</field> |
|
|
|
|
|
<field name="inherit_id" ref="crm.view_crm_case_leads_filter"/> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<filter string="Sales Team" position="after"> |
|
|
|
|
|
<filter string="Capital country" |
|
|
|
|
|
domain="[]" |
|
|
|
|
|
context="{'group_by': 'capital_country'}"/> |
|
|
|
|
|
<filter string="Turnover" |
|
|
|
|
|
domain="[]" |
|
|
|
|
|
context="{'group_by': 'turnover_number'}"/> |
|
|
|
|
|
</filter> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="crm_case_form_view_oppor_capital"> |
|
|
<field name="name">CRM - Leads Form with capital info</field> |
|
|
<field name="name">CRM - Leads Form with capital info</field> |
|
|
<field name="model">crm.lead</field> |
|
|
<field name="model">crm.lead</field> |
|
|
<field name="inherit_id" ref="crm.crm_case_form_view_oppor"/> |
|
|
<field name="inherit_id" ref="crm.crm_case_form_view_oppor"/> |
|
@ -22,9 +40,27 @@ |
|
|
<field name="partner_id" position="before"> |
|
|
<field name="partner_id" position="before"> |
|
|
<field name="capital_country"/> |
|
|
<field name="capital_country"/> |
|
|
<field name="capital_registered"/> |
|
|
<field name="capital_registered"/> |
|
|
|
|
|
<field name="turnover_range"/> |
|
|
|
|
|
<field name="turnover_number"/> |
|
|
</field> |
|
|
</field> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
|
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_crm_case_opportunities_filter_capital"> |
|
|
|
|
|
<field name="name">CRM - Leads Search with capital</field> |
|
|
|
|
|
<field name="model">crm.lead</field> |
|
|
|
|
|
<field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<filter string="Sales Team" position="after"> |
|
|
|
|
|
<filter string="Capital country" |
|
|
|
|
|
domain="[]" |
|
|
|
|
|
context="{'group_by': 'capital_country'}"/> |
|
|
|
|
|
<filter string="Turnover" |
|
|
|
|
|
domain="[]" |
|
|
|
|
|
context="{'group_by': 'turnover_number'}"/> |
|
|
|
|
|
</filter> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
</data> |
|
|
|
|
|
|
|
|
</data> |
|
|
</openerp> |
|
|
</openerp> |