[IMP] mail: Allow to search a string in the body and the subject of a message
bzr revid: stw@openerp.com-20120726141915-ghsdz2210gwwpfjw
This commit is contained in:
parent
45933ec829
commit
9155ba655d
|
@ -81,8 +81,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<search string="Messages Search">
|
||||
<field name="user_id"/>
|
||||
<field name="body"/>
|
||||
<field name="subject" filter_domain="['|', ('subject', 'ilike', self), ('record_name', 'ilike', self)]" />
|
||||
<field name="subject" string="Content" filter_domain="['|', ('subject', 'ilike', self), ('body', 'ilike', self)]" />
|
||||
<field name="type"/>
|
||||
<filter icon="terp-personal+" string="My Feeds"
|
||||
name="my_feeds" help="My Feeds"
|
||||
|
|
Loading…
Reference in New Issue