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.
 
 

78 lines
3.1 KiB

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="crm_case_form_view_leads_capital">
<field name="name">CRM - Leads Form with capital info</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
<field name="arch" type="xml">
<field name="partner_id" position="before">
<field name="capital_country" placeholder="Capital country"
options='{"no_open": True}'/>
<field name="capital_registered"/>
<field name="turnover_range" placeholder="Turnover range"
options='{"no_open": True}'/>
<field name="turnover_number"/>
<field name="company_size"/>
</field>
</field>
</record>
<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 string="Company size"
domain="[]"
context="{'group_by': 'company_size'}"/>
</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="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
<field name="arch" type="xml">
<field name="partner_id" position="before">
<field name="capital_country" placeholder="Capital country"
options='{"no_open": True}'/>
<field name="capital_registered"/>
<field name="turnover_range" placeholder="Turnover range"
options='{"no_open": True}'/>
<field name="turnover_number"/>
<field name="company_size"/>
</field>
</field>
</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 string="Company size"
domain="[]"
context="{'group_by': 'company_size'}"/>
</filter>
</field>
</record>
</data>
</openerp>