Browse Source

[FIX] XML revised

pull/225/head
Antonio Espinosa 10 years ago
committed by Jairo Llopis
parent
commit
8031039e72
  1. 2
      crm_employees/views/crm_employees_range_view.xml
  2. 2
      crm_employees/views/crm_lead_view.xml
  3. 15
      crm_employees/views/res_partner_view.xml

2
crm_employees/views/crm_employees_range_view.xml

@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>

2
crm_employees/views/crm_lead_view.xml

@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>

15
crm_employees/views/res_partner_view.xml

@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
@ -16,5 +16,18 @@
</field>
</record>
<record model="ir.ui.view" id="view_res_partner_filter_employees">
<field name="name">Partner search with employees</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_res_partner_filter"/>
<field name="arch" type="xml">
<filter string="Salesperson" position="after">
<filter string="Emplooyees"
domain="[('is_company','=', True)]"
context="{'group_by': 'employees_range'}"/>
</filter>
</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save