diff --git a/addons/account/data/payment_receipt_data.xml b/addons/account/data/payment_receipt_data.xml index 22ae398ad1441dc5bb0ddb0f8d4c1ffe1d55abbf..9b5fff2bc0837ef9b0118261970e8d2d268b74e5 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> diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index 6a460c7e901f2286b9d4bcf610adbdde0428f2fb..7268a73d0311f26e25120c69fc09da318bf3955a 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server saas~13.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-26 06:05+0000\n" -"PO-Revision-Date: 2020-05-26 06:05+0000\n" +"POT-Creation-Date: 2020-07-02 08:18+0000\n" +"PO-Revision-Date: 2020-07-02 08:18+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -159,6 +159,11 @@ msgstr "" msgid "30 Days" msgstr "" +#. module: account +#: model:account.payment.term,name:account.account_payment_term_advance +msgid "30% Advance End of Following Month" +msgstr "" + #. module: account #: model:account.payment.term,name:account.account_payment_term_advance_60days msgid "30% Now, Balance 60 Days" @@ -2603,6 +2608,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account.selection__account_invoice_report__state__cancel #: model:ir.model.fields.selection,name:account.selection__account_move__state__cancel #: model:ir.model.fields.selection,name:account.selection__account_payment__state__cancelled +#: model_terms:ir.ui.view,arch_db:account.view_account_invoice_filter msgid "Cancelled" msgstr "" @@ -7959,6 +7965,11 @@ msgstr "" msgid "Payment terms: 30 Days" msgstr "" +#. module: account +#: model:account.payment.term,note:account.account_payment_term_advance +msgid "Payment terms: 30% Advance End of Following Month" +msgstr "" + #. module: account #: model:account.payment.term,note:account.account_payment_term_advance_60days msgid "Payment terms: 30% Now, Balance 60 Days" @@ -8107,6 +8118,12 @@ msgid "" "proceeding." msgstr "" +#. module: account +#: code:addons/account/models/account_cash_rounding.py:0 +#, python-format +msgid "Please set a positive rounding value." +msgstr "" + #. module: account #: model_terms:ir.ui.view,arch_db:account.report_invoice_document msgid "Please use the following communication for your payment :" @@ -8897,6 +8914,11 @@ msgstr "" msgid "Reversal Date" msgstr "" +#. module: account +#: model:ir.model.fields,field_description:account.field_account_move__reversal_move_id +msgid "Reversal Move" +msgstr "" + #. module: account #: model:ir.model.fields,field_description:account.field_account_move_reversal__date msgid "Reversal date" @@ -9345,6 +9367,11 @@ msgstr "" msgid "Send receipt by email" msgstr "" +#. module: account +#: model:ir.actions.act_window,name:account.account_send_payment_receipt_by_email_action_multi +msgid "Send receipts by email" +msgstr "" + #. module: account #: model_terms:ir.ui.view,arch_db:account.onboarding_sample_invoice_step msgid "Send sample"