[IMP] crm_helpdesk : added missing filter string in search view.
bzr revid: mdi@tinyerp.com-20120521102741-j36and6ks2yh0ged
This commit is contained in:
@@ -231,7 +231,8 @@
|
||||
<field name="partner_id" />
|
||||
<field name="user_id" widget="selection"/>
|
||||
<field name="section_id" widget="selection" string="Sales Team">
|
||||
<filter icon="terp-personal+"
|
||||
<filter string="My Sales Team(s)"
|
||||
icon="terp-personal+"
|
||||
domain="['|', ('section_id', '=', context.get('section_id')), '|', ('section_id.user_id','=',uid), ('section_id.member_ids', 'in', [uid])]"
|
||||
help="My Sales Team(s)" />
|
||||
</field>
|
||||
|
||||
@@ -75,13 +75,15 @@
|
||||
<separator orientation="vertical" />
|
||||
<field name="section_id" string="Sales Team"
|
||||
context="{'invisible_section': False}">
|
||||
<filter icon="terp-personal+"
|
||||
<filter string="My Sales Team(s)"
|
||||
icon="terp-personal+"
|
||||
context="{'invisible_section': False}"
|
||||
domain="[('section_id.user_id','=',uid)]"
|
||||
help="My Sales Team(s)" />
|
||||
</field>
|
||||
<field name="company_id" groups="base.group_multi_company">
|
||||
<filter icon="terp-go-home"
|
||||
<filter string="My company"
|
||||
icon="terp-go-home"
|
||||
context="{'invisible_section': False}"
|
||||
domain="[('section_id.user_id.company_id','=',uid)]"
|
||||
help="My company"/>
|
||||
|
||||
Reference in New Issue
Block a user