summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjpr-odoo <jpr@openerp.com>2019-02-18 06:41:43 +0000
committerjpr-odoo <jpr@openerp.com>2019-04-12 09:04:26 +0000
commitcaad35c29cbb5496e2eb48153de8a0beeb6cebc4 (patch)
treef15558b1541a059cb1979beac0f64d9114b41e57
parent3d204d063f98d443ede8f09fb29f9f91085bb2fd (diff)
[IMP] account, sale: improvement into the invoice report view
with this commit, changed the label of 'Shipping address' => 'Shipping Address' and removed 'Reference' into the printed invoice report for a portal view Task ID: 1930087
-rw-r--r--addons/account/views/report_invoice.xml4
-rw-r--r--addons/sale/report/invoice_report_templates.xml2
2 files changed, 1 insertions, 5 deletions
diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml
index a566bc80394..0f83dee7c39 100644
--- a/addons/account/views/report_invoice.xml
+++ b/addons/account/views/report_invoice.xml
@@ -40,10 +40,6 @@
<strong>Customer Code:</strong>
<p class="m-0" t-field="o.partner_id.ref"/>
</div>
- <div name="reference" class="col-auto mw-100 mb-2" t-if="o.reference">
- <strong>Reference:</strong>
- <p class="m-0" t-field="o.reference"/>
- </div>
</div>
<t t-set="display_discount" t-value="any([l.discount for l in o.invoice_line_ids])"/>
diff --git a/addons/sale/report/invoice_report_templates.xml b/addons/sale/report/invoice_report_templates.xml
index abecd7cd749..fbc1d1a9f2d 100644
--- a/addons/sale/report/invoice_report_templates.xml
+++ b/addons/sale/report/invoice_report_templates.xml
@@ -8,7 +8,7 @@
<t t-if="o.partner_shipping_id and (o.partner_shipping_id != o.partner_id)">
<t t-set="information_block">
<div groups="sale.group_delivery_invoice_address">
- <strong>Shipping address:</strong>
+ <strong>Shipping Address:</strong>
<div t-field="o.partner_shipping_id"
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'/>
</div>