[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
This commit is contained in:
@@ -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()">
|
||||
|
||||
@@ -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
|
||||
@@ -432,6 +432,11 @@ msgstr ""
|
||||
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"
|
||||
@@ -1329,6 +1334,11 @@ msgstr ""
|
||||
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."
|
||||
@@ -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"
|
||||
@@ -2015,6 +2031,11 @@ msgstr ""
|
||||
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
|
||||
@@ -2257,6 +2278,11 @@ msgstr ""
|
||||
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"
|
||||
@@ -3041,6 +3067,11 @@ msgstr ""
|
||||
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"
|
||||
@@ -3169,6 +3200,11 @@ msgstr ""
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user