summaryrefslogtreecommitdiff
path: root/addons/account/data/mail_template_data.xml
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2019-07-26 14:44:35 +0000
committerwan <wan@odoo.com>2019-07-31 14:39:22 +0000
commit2d086f5d8fb01f659ede9543dc676e60125477ee (patch)
treeb0a5ec6d0dc82d9baf4e1f8eba41755195436f43 /addons/account/data/mail_template_data.xml
parentb66d84119c0777354303ff179dfefe8a23738d1e (diff)
[IMP] account: credit note usability
Task 2038326 * Tick the credit note sequence by default on the customer invoices and vendor bills journals * Write Customer Invoice/Vendor Bill/Credit Note/Customer refund at the top of the document * The reference field should be printed on the credit note pdf (interesting because it gives source and reason) * If the document is a credit note, there shouldn't be any payment information on the pdf (the customer doesn't have to pay you) (currently you see the "payment communication" the customer is supposed to use) * Rename Credit Note to Refund on dashboard * Add tooltip on payment widget closes odoo/odoo#35231 Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
Diffstat (limited to 'addons/account/data/mail_template_data.xml')
-rw-r--r--addons/account/data/mail_template_data.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/data/mail_template_data.xml b/addons/account/data/mail_template_data.xml
index 574ed6fe56e..2d30ca90879 100644
--- a/addons/account/data/mail_template_data.xml
+++ b/addons/account/data/mail_template_data.xml
@@ -8,7 +8,7 @@
<record id="email_template_edi_invoice" model="mail.template">
<field name="name">Invoice: Send by email</field>
<field name="model_id" ref="account.model_account_move"/>
- <field name="email_from">${(object.user_id.email_formatted or user.email_formatted) |safe}</field>
+ <field name="email_from">${(object.invoice_user_id.email_formatted or user.email_formatted) |safe}</field>
<field name="partner_to">${object.partner_id.id}</field>
<field name="subject">${object.company_id.name} Invoice (Ref ${object.name or 'n/a'})</field>
<field name="body_html" type="html">
@@ -21,7 +21,7 @@
${object.partner_id.name},
% endif
<br /><br />
- Here is your
+ Here is your
% if object.name:
invoice <strong>${object.name}</strong>
% else: