diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-02-25 09:18:49 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-02-25 09:18:49 +0000 |
| commit | 6af6da5c590cb596ad74a097cd41504ea7fc267d (patch) | |
| tree | 00a9b8dca94de28a39d6ed2cea1835c30894ebb5 | |
| parent | 01405ca1abbfb9f87e428bd198b34ca8f62e561b (diff) | |
[FIX] sale: mail notification pay now translatable
Before this commit, the template that was rendered when sending
an email to a customer to invite hime to pay online
was not translatable
This was because the override of the template did not have an xml_id
After this commit, it is translatable
OPW 1944258
closes odoo/odoo#31396
| -rw-r--r-- | addons/sale/data/mail_data.xml | 2 | ||||
| -rw-r--r-- | addons/sale/i18n/sale.pot | 38 |
2 files changed, 38 insertions, 2 deletions
diff --git a/addons/sale/data/mail_data.xml b/addons/sale/data/mail_data.xml index 5d037573d9d..a3c2cb6f2ab 100644 --- a/addons/sale/data/mail_data.xml +++ b/addons/sale/data/mail_data.xml @@ -56,7 +56,7 @@ </data> <!-- Template and notification section --> <data noupdate="1"> - <template id="" inherit_id="mail.mail_notification_paynow" name="oezirhgoi"> + <template id="mail_notification_paynow_online" inherit_id="mail.mail_notification_paynow" name="oezirhgoi"> <xpath expr="//t[@t-set='access_name']" position="after"> <t t-if="record._name == 'sale.order'"> <t t-if="record.has_to_be_signed()"> diff --git a/addons/sale/i18n/sale.pot b/addons/sale/i18n/sale.pot index 8ae1e95a0d0..acb1eb1ddb6 100644 --- a/addons/sale/i18n/sale.pot +++ b/addons/sale/i18n/sale.pot @@ -27,7 +27,7 @@ msgstr "" #. module: sale #: model:mail.template,report_name:sale.email_template_edi_sale -msgid "${(object.name or '').replace('/','_')}${object.state == 'draft' and '_draft' or ''}" +msgid "${(object.name or '').replace('/','_')}" msgstr "" #. module: sale @@ -433,6 +433,11 @@ msgid "Accept & Pay" msgstr "" #. module: sale +#: model_terms:ir.ui.view,arch_db:sale.mail_notification_paynow_online +msgid "Accept and sign online" +msgstr "" + +#. module: sale #: model:ir.model.fields,field_description:sale.field_sale_order__access_warning msgid "Access warning" msgstr "" @@ -1330,6 +1335,11 @@ msgid "Forbidden values on non-accountable sale order line" msgstr "" #. module: sale +#: selection:res.config.settings,auth_signup_uninvited:0 +msgid "Free sign up" +msgstr "" + +#. module: sale #: model_terms:ir.actions.act_window,help:sale.action_account_invoice_report_salesteam msgid "From this report, you can have an overview of the amount invoiced to your customer. The search tool can also be used to personalise your Invoices reports and so, match this analysis to your needs." msgstr "" @@ -1631,6 +1641,12 @@ msgid "Invoicing" msgstr "" #. module: sale +#: model_terms:ir.ui.view,arch_db:sale.sale_order_portal_content +msgid "Invoicing Address" +msgstr "" + +#. module: sale +#: model:ir.model.fields,field_description:sale.field_product_product__invoice_policy #: model:ir.model.fields,field_description:sale.field_product_template__invoice_policy #: model:ir.model.fields,field_description:sale.field_res_config_settings__default_invoice_policy msgid "Invoicing Policy" @@ -2016,6 +2032,11 @@ msgid "Office chairs can harm your floor: protect it." msgstr "" #. module: sale +#: selection:res.config.settings,auth_signup_uninvited:0 +msgid "On invitation" +msgstr "" + +#. module: sale #: model_terms:ir.actions.act_window,help:sale.act_res_partner_2_sale_order #: model_terms:ir.actions.act_window,help:sale.action_orders_salesteams #: model_terms:ir.actions.act_window,help:sale.action_quotations @@ -2258,6 +2279,11 @@ msgid "Pay now" msgstr "" #. module: sale +#: model_terms:ir.ui.view,arch_db:sale.mail_notification_paynow_online +msgid "Pay online" +msgstr "" + +#. module: sale #: model_terms:ir.ui.view,arch_db:sale.sale_order_portal_template msgid "Pay with" msgstr "" @@ -3042,6 +3068,11 @@ msgid "Sell and purchase products in different units of measure" msgstr "" #. module: sale +#: model:ir.model.fields,field_description:sale.field_res_config_settings__module_website_sale_digital +msgid "Sell digital products - provide downloadable content on your customer portal" +msgstr "" + +#. module: sale #: model_terms:ir.ui.view,arch_db:sale.res_config_settings_view_form msgid "Sell products by multiple of unit # per package" msgstr "" @@ -3170,6 +3201,11 @@ msgid "Show standard terms & conditions on orders" msgstr "" #. module: sale +#: model_terms:ir.ui.view,arch_db:sale.mail_notification_paynow_online +msgid "Sign and pay online" +msgstr "" + +#. module: sale #: selection:res.company,sale_onboarding_payment_method:0 #: selection:sale.payment.acquirer.onboarding.wizard,payment_method:0 msgid "Sign online" |
