summaryrefslogtreecommitdiff
path: root/addons/mail/wizard/mail_compose_message_view.xml
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2015-01-12 15:46:52 +0100
committerDamien Bouvy <dbo@odoo.com>2015-01-13 10:36:47 +0100
commit573cc737ddf385dc7dd4b386e4a9fe74e00570ed (patch)
tree0d1082bfcfeed35f5b4f194a49865fd19496a62f /addons/mail/wizard/mail_compose_message_view.xml
parentdf2ddd895192a142aff3b0160764824b2ea6dffd (diff)
[FIX] mail: action buttons passed arguments positionnally, which caused the context to be passed as another argument. An intermediary function screens the arguments before calling send_mail.
Diffstat (limited to 'addons/mail/wizard/mail_compose_message_view.xml')
-rw-r--r--addons/mail/wizard/mail_compose_message_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml
index b217839bacf..58baf8dd029 100644
--- a/addons/mail/wizard/mail_compose_message_view.xml
+++ b/addons/mail/wizard/mail_compose_message_view.xml
@@ -61,7 +61,7 @@
<field name="body"/>
<field name="attachment_ids" widget="many2many_binary" string="Attach a file"/>
<footer>
- <button string="Send" name="send_mail" type="object" class="oe_highlight"/>
+ <button string="Send" name="send_mail_action" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />