summaryrefslogtreecommitdiff
path: root/addons/email_template/wizard/mail_compose_message_view.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-11-15 13:24:06 +0100
committerThibault Delavallée <tde@openerp.com>2012-11-15 13:24:06 +0100
commit81d4467c8fb4e15129d5dd6b8242fa1a8d4e5562 (patch)
tree9d31c8cf67c3c1ff4d18e631063bb419c29e25d6 /addons/email_template/wizard/mail_compose_message_view.xml
parentdfa48f425d55201ab4d22350819cec02e5b4a19a (diff)
[REV] mail.compose.message using email_template: _reopen is back, as the spec of a wizard should be that hitting a button close it. Therefore _reopen is necessaru to reopen the wizard with its previous value, to continue working on it.
bzr revid: tde@openerp.com-20121115122406-d88ozw5iclsqdyff
Diffstat (limited to 'addons/email_template/wizard/mail_compose_message_view.xml')
-rw-r--r--addons/email_template/wizard/mail_compose_message_view.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/email_template/wizard/mail_compose_message_view.xml b/addons/email_template/wizard/mail_compose_message_view.xml
index 0a530299d4a..5afaf9745e1 100644
--- a/addons/email_template/wizard/mail_compose_message_view.xml
+++ b/addons/email_template/wizard/mail_compose_message_view.xml
@@ -14,12 +14,11 @@
</xpath>
<xpath expr="//footer" position="inside">
<group class="oe_right" col="1">
- <div>Use template
+ <div attrs="{'invisible':[('use_template','=',False)]}">Use template
<field name="template_id" attrs="{'invisible':[('use_template','=',False)]}"
nolabel="1"
on_change="onchange_template_id(use_template, template_id, composition_mode, model, res_id, context)"/>
</div>
- or
<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"
help="Save as a new template"