summaryrefslogtreecommitdiff
path: root/addons/email_template/wizard/mail_compose_message_view.xml
diff options
context:
space:
mode:
authorParth Gajjar (Open ERP) <pga@tinyerp.com>2013-05-08 18:16:39 +0530
committerParth Gajjar (Open ERP) <pga@tinyerp.com>2013-05-08 18:16:39 +0530
commit2c6aeae9112de0ec0d39f8cdbb0690747ecfaa77 (patch)
tree31ded50792f7f6fc6a9536c4d2d52e914a087c26 /addons/email_template/wizard/mail_compose_message_view.xml
parent4ed6734b82f199952f672a812478b283342125ed (diff)
parent389f4911147b7cf5191b93e025c7b5c39d9e9eb6 (diff)
[MERGE]
bzr revid: pga@tinyerp.com-20130508124639-wfb2mpy15tnzs787
Diffstat (limited to 'addons/email_template/wizard/mail_compose_message_view.xml')
-rw-r--r--addons/email_template/wizard/mail_compose_message_view.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/addons/email_template/wizard/mail_compose_message_view.xml b/addons/email_template/wizard/mail_compose_message_view.xml
index 1b2be68a4a2..46ed49e6627 100644
--- a/addons/email_template/wizard/mail_compose_message_view.xml
+++ b/addons/email_template/wizard/mail_compose_message_view.xml
@@ -24,10 +24,11 @@
</div>
</xpath>
<xpath expr="//footer" position="inside">
- <group class="oe_right" col="1">
+ <group class="oe_right oe_form" col="1">
<div>Use template
- <field name="template_id" nolabel="1"
- on_change="onchange_template_id(template_id, composition_mode, model, res_id, context)"/>
+ <!--FIX: To avoid css issue of many2one field in footer temporary used oe_form (BUG:1152464)-->
+ <field name="template_id" nolabel="1" class='oe_inline'
+ on_change="onchange_template_id(template_id, composition_mode, model, res_id, context)" domain="[('model_id','=',context.get('default_model'))]"/>
</div>
<button icon="/email_template/static/src/img/email_template_save.png"
type="object" name="save_as_template" string="Save as new template" class="oe_link"