[FIX] crm, res_partner: added separator in search views after adding not opt-out filter.

bzr revid: tde@openerp.com-20130313115901-s60j69qn3e3q4bpk
This commit is contained in:
Thibault Delavallée 2013-03-13 12:59:01 +01:00
parent 2f4a59fd06
commit fdf7410acf
2 changed files with 4 additions and 2 deletions

View File

@ -341,9 +341,10 @@
<filter string="Assigned to My Team(s)"
domain="[('section_id.member_ids', 'in', [uid])]" context="{'invisible_section': False}"
help="Leads that are assigned to any sales teams I am member of"/>
<separator />
<filter string="Available for mass mailing" domain="[('opt_out', '=', False)]"
help="Leads that did not ask not to be included in mass mailing campaigns"/>
<separator/>
<separator />
<group expand="0" string="Group By...">
<filter string="Salesperson" domain="[]" context="{'group_by':'user_id'}"/>
<filter string="Team" domain="[]" context="{'group_by':'section_id'}"/>

View File

@ -18,8 +18,9 @@
<field name="inherit_id" ref="base.view_res_partner_filter"/>
<field name="arch" type="xml">
<filter string="Suppliers" position="after">
<separator />
<filter string="Available for mass mailing" domain="[('opt_out', '=', False)]"
help="Leads that did not ask not to be included in mass mailing campaigns"/>
help="Leads that did not ask not to be included in mass mailing campaigns" />
</filter>
</field>
</record>