Browse Source

Renaming several views to complain best practices

pull/229/head
Antonio Espinosa 10 years ago
committed by Jairo Llopis
parent
commit
368fafb379
  1. 42
      crm_department/views/crm_lead_view.xml

42
crm_department/views/crm_lead_view.xml

@ -2,8 +2,8 @@
<openerp>
<data>
<record model="ir.ui.view" id="crm_case_form_view_leads_department">
<field name="name">CRM - Leads Form with department</field>
<record model="ir.ui.view" id="crm_case_form_view_leads">
<field name="name">Add department field</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
<field name="arch" type="xml">
@ -15,21 +15,8 @@
</field>
</record>
<!-- Uncomment this to add a new column to tree view
<record model="ir.ui.view" id="crm_case_tree_view_leads_department">
<field name="name">Leads with department</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_tree_view_leads"/>
<field name="arch" type="xml">
<field name="section_id" position="after">
<field name="department"/>
</field>
</field>
</record>
-->
<record model="ir.ui.view" id="view_crm_case_leads_filter_department">
<field name="name">CRM - Leads Search with departments</field>
<record model="ir.ui.view" id="view_crm_case_leads_filter">
<field name="name">Add department field for searching and grouping</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
<field name="arch" type="xml">
@ -44,8 +31,8 @@
</field>
</record>
<record model="ir.ui.view" id="crm_case_form_view_oppor_department">
<field name="name">CRM - Leads Form with department</field>
<record model="ir.ui.view" id="crm_case_form_view_oppor">
<field name="name">Add department field</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
<field name="arch" type="xml">
@ -57,21 +44,8 @@
</field>
</record>
<!-- Uncomment this to add a new column to tree view
<record model="ir.ui.view" id="crm_case_tree_view_oppor_department">
<field name="name">Leads with department</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/>
<field name="arch" type="xml">
<field name="section_id" position="after">
<field name="department"/>
</field>
</field>
</record>
-->
<record model="ir.ui.view" id="view_crm_case_opportunities_filter_department">
<field name="name">CRM - Leads Search with departments</field>
<record model="ir.ui.view" id="view_crm_case_opportunities_filter">
<field name="name">Add department field for searching and grouping</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
<field name="arch" type="xml">

Loading…
Cancel
Save