diff options
Diffstat (limited to 'addons/account/data/payment_receipt_data.xml')
| -rw-r--r-- | addons/account/data/payment_receipt_data.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/addons/account/data/payment_receipt_data.xml b/addons/account/data/payment_receipt_data.xml index 22ae398ad14..9b5fff2bc08 100644 --- a/addons/account/data/payment_receipt_data.xml +++ b/addons/account/data/payment_receipt_data.xml @@ -37,6 +37,7 @@ res_model="mail.compose.message" binding_model="account.payment" view_mode="form" + binding_views="form" target="new" id="account_send_payment_receipt_by_email_action" context="{ @@ -50,5 +51,24 @@ 'custom_layout': 'mail.mail_notification_light', }" /> + + <act_window name="Send receipts by email" + res_model="mail.compose.message" + binding_model="account.payment" + view_mode="form" + binding_views="list" + target="new" + id="account_send_payment_receipt_by_email_action_multi" + context="{ + 'default_model': 'account.payment', + 'mail_post_autofollow': True, + 'default_composition_mode': 'mass_mail', + 'default_use_template': True, + 'default_res_id': active_id, + 'default_template_id': ref('account.mail_template_data_payment_receipt'), + 'force_email': True, + 'custom_layout': 'mail.mail_notification_light', + }" + /> </data> </odoo> |
