diff options
| author | XavierDo <xdo@odoo.com> | 2018-06-08 15:51:49 +0200 |
|---|---|---|
| committer | XavierDo <xdo@odoo.com> | 2018-08-01 15:26:30 +0200 |
| commit | abbba35598d01d1a11f1b034912608be7c132239 (patch) | |
| tree | ef086e16b5e7266ec323895ce84cd6480fa31e3b /addons/mail/wizard/mail_compose_message_view.xml | |
| parent | 7ffb21c40be4ad7adc92c19e91b9964b53070b33 (diff) | |
[IMP] mail: add mail templates on activity
This commit allows the user to link some mail template to activity type
with res_model.
When a activity has template, buttons appears in activity, allowing the user
to send mail based on templates.
Task: #1844563
PR: #25620
Diffstat (limited to 'addons/mail/wizard/mail_compose_message_view.xml')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message_view.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml index 72c39677357..c796ed65105 100644 --- a/addons/mail/wizard/mail_compose_message_view.xml +++ b/addons/mail/wizard/mail_compose_message_view.xml @@ -74,8 +74,8 @@ context="{'default_model': model, 'default_body_html': body, 'default_subject': subject}"/> </group> <footer> - <button string="Send" attrs="{'invisible': [('is_log', '=', True)]}" name="send_mail_action" type="object" class="btn-primary o_mail_send"/> - <button string="Log" attrs="{'invisible': [('is_log', '=', False)]}" name="send_mail_action" type="object" class="btn-primary"/> + <button string="Send" attrs="{'invisible': [('is_log', '=', True)]}" name="action_send_mail" type="object" class="btn-primary o_mail_send"/> + <button string="Log" attrs="{'invisible': [('is_log', '=', False)]}" name="action_send_mail" type="object" class="btn-primary"/> <button string="Cancel" class="btn-secondary" special="cancel" /> <button icon="fa-lg fa-save" type="object" name="save_as_template" string="Save as new template" |
