[FIX] email_template: change tree and search view by adding mail_server_id field

lp bug: https://launchpad.net/bugs/900239 fixed

bzr revid: kjo@tinyerp.com-20111206060837-2av5qo1eyv4f0w69
This commit is contained in:
Kuldeep Joshi (OpenERP) 2011-12-06 11:38:37 +05:30
parent 33767eb356
commit 506a69d3b5
1 changed files with 2 additions and 1 deletions

View File

@ -110,6 +110,7 @@
<field name="arch" type="xml">
<tree string="Templates">
<field name="model_id"/>
<field name="mail_server_id"/>
<field name="name"/>
<field name="subject"/>
<field name="email_from"/>
@ -138,7 +139,7 @@
</group>
<newline/>
<group expand="0" string="Group by...">
<filter string="SMTP Server" domain="[]" context="{'group_by':'smtp_server_id'}" icon="terp-folder-orange"/>
<filter string="SMTP Server" domain="[]" context="{'group_by':'mail_server_id'}" icon="terp-folder-orange"/>
<separator orientation="vertical"/>
<filter string="Model" domain="[]" context="{'group_by':'model_id'}" icon="terp-accessories-archiver"/>
</group>