[FIX] sale,product_email_template: match the help with the behaviour

Before this commit, the help of the product_email_template module said
that the email is sent when the invoice is paid. This is not the case,
the current behaviour of the module is that the email is sent when the
invoice is validated.

Fine-tuning of : 4b5265b9b9,
10eee18a04
and 33a413eb29

opw-1973946

closes odoo/odoo#33686

Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
This commit is contained in:
Jorge Pinna Puissant
2019-05-27 12:43:14 +00:00
parent a98c15f443
commit 904e237d78
5 changed files with 8 additions and 6 deletions
@@ -49,12 +49,12 @@ msgstr ""
#. module: product_email_template
#: model_terms:ir.ui.view,arch_db:product_email_template.product_template_form_view
msgid "Send a product-specific email once the invoice is paid"
msgid "Send a product-specific email once the invoice is validated"
msgstr ""
#. module: product_email_template
#: model:ir.model.fields,help:product_email_template.field_product_product__email_template_id
#: model:ir.model.fields,help:product_email_template.field_product_template__email_template_id
msgid "Send a product-specific email once the invoice is paid."
msgid "When validating an invoice, an email will be sent to the customer based on this template. The customer will receive an email for each product linked to an email template."
msgstr ""
@@ -11,4 +11,6 @@ class ProductTemplate(models.Model):
_inherit = "product.template"
email_template_id = fields.Many2one('mail.template', string='Product Email Template',
help='Send a product-specific email once the invoice is paid.')
help='When validating an invoice, an email will be sent to the customer '
'based on this template. The customer will receive an email for each '
'product linked to an email template.')
@@ -10,7 +10,7 @@
<attribute name="invisible">0</attribute>
</xpath>
<xpath expr="//group[@name='email_template_and_project']" position="inside">
<field name="email_template_id" string="Email Template" help="Send a product-specific email once the invoice is paid"
<field name="email_template_id" string="Email Template" help="Send a product-specific email once the invoice is validated"
domain="[('model','=','product.template')]"
context="{
'form_view_ref':'product_email_template.email_template_form_simplified',
+1 -1
View File
@@ -3083,7 +3083,7 @@ msgstr ""
#. module: sale
#: model_terms:ir.ui.view,arch_db:sale.res_config_settings_view_form
msgid "Send a product-specific email once the invoice is paid"
msgid "Send a product-specific email once the invoice is validated"
msgstr ""
#. module: sale
@@ -50,7 +50,7 @@
<div class="o_setting_right_pane">
<label for="module_product_email_template" string="Deliver Content by Email"/>
<div class="text-muted">
Send a product-specific email once the invoice is paid
Send a product-specific email once the invoice is validated
</div>
</div>
</div>