diff options
| author | Yogesh (OpenERP) <ysa@tinyerp.com> | 2011-02-23 21:52:49 +0530 |
|---|---|---|
| committer | Yogesh (OpenERP) <ysa@tinyerp.com> | 2011-02-23 21:52:49 +0530 |
| commit | bf37d84341a46cfcb5855c2b54ee04f0ec974d6d (patch) | |
| tree | 89190b201db69f46e8631ff300433f812a827bc7 /addons/email_template/wizard/email_compose_message_view.xml | |
| parent | 174534ff5ebec7f93d46120db7ecc1f45e4ce53e (diff) | |
[IMP] email_template, emails:- improve default set value. context pass on onchange method and check in method if mail is reply then donot change the value in send mail wizard.
bzr revid: ysa@tinyerp.com-20110223162249-ruiaknvx0i9o4xec
Diffstat (limited to 'addons/email_template/wizard/email_compose_message_view.xml')
| -rw-r--r-- | addons/email_template/wizard/email_compose_message_view.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/email_template/wizard/email_compose_message_view.xml b/addons/email_template/wizard/email_compose_message_view.xml index 0daf7680d86..22ec87952f0 100644 --- a/addons/email_template/wizard/email_compose_message_view.xml +++ b/addons/email_template/wizard/email_compose_message_view.xml @@ -10,10 +10,10 @@ <field name="arch" type="xml"> <field name="res_id" position="replace"> <field name="template_id" colspan="4" - on_change="on_change_template(model, res_id, template_id)"/> + on_change="on_change_template(model, res_id, template_id, context)"/> <field name="res_id" invisible="context.get('active_model','') != 'ir.ui.menu'" - colspan="4" on_change="on_change_template(model, res_id, template_id)"/> + colspan="4" on_change="on_change_template(model, res_id, template_id, context)"/> </field> </field> </record> |
