diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-05-31 14:37:38 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-05-31 14:37:38 +0200 |
| commit | cfe0523714b4244b080a268c0697f270f0b19e5b (patch) | |
| tree | ec6ea86aa32afd66ff4934ee5e745652777887a3 /addons/product_email_template | |
| parent | e5b19bd5aa47fdb2da547cb75de9d33a20e1e180 (diff) | |
| parent | 8f21148e1a8eaae3bc09ec54377becb2361e7834 (diff) | |
[MERGE] forward port branch 12.0 up to 8f21148e1a8
Diffstat (limited to 'addons/product_email_template')
| -rw-r--r-- | addons/product_email_template/models/product.py | 4 | ||||
| -rw-r--r-- | addons/product_email_template/views/product_views.xml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/addons/product_email_template/models/product.py b/addons/product_email_template/models/product.py index 9ef844e8f46..e043717e6e8 100644 --- a/addons/product_email_template/models/product.py +++ b/addons/product_email_template/models/product.py @@ -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.') diff --git a/addons/product_email_template/views/product_views.xml b/addons/product_email_template/views/product_views.xml index 393ab6d3ec9..9afb300f64f 100644 --- a/addons/product_email_template/views/product_views.xml +++ b/addons/product_email_template/views/product_views.xml @@ -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', |
