[IMP] crm_fundraising : added missing filter string in search view.
bzr revid: mdi@tinyerp.com-20120521101036-goz84yxanmvkaiss
This commit is contained in:
@@ -228,12 +228,14 @@
|
||||
string="Fund Description" />
|
||||
<field name="user_id"
|
||||
widget="selection">
|
||||
<filter icon="terp-personal-"
|
||||
<filter string="Unassigned"
|
||||
icon="terp-personal-"
|
||||
domain="[('user_id','=', False)]"
|
||||
help="Unassigned" />
|
||||
</field>
|
||||
<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>
|
||||
|
||||
@@ -101,13 +101,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