Skip to content
Snippets Groups Projects
Commit 706db8a7 authored by Pierre Verkest's avatar Pierre Verkest
Browse files

[FIX] account: account move report date label


Change 'Invoice date' label on report according move_type

closes odoo/odoo#100851

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
Co-authored-by: default avatarwan <wan@odoo.com>
parent df4f5a81
No related branches found
No related tags found
No related merge requests found
......@@ -592,6 +592,11 @@ msgstr ""
msgid "<strong>Company:</strong>"
msgstr ""
#. module: account
#: model_terms:ir.ui.view,arch_db:account.report_invoice_document
msgid "<strong>Credit Note Date:</strong>"
msgstr ""
#. module: account
#: model_terms:ir.ui.view,arch_db:account.report_invoice_document
msgid "<strong>Customer Code:</strong>"
......@@ -602,6 +607,11 @@ msgstr ""
msgid "<strong>Customer: </strong>"
msgstr ""
#. module: account
#: model_terms:ir.ui.view,arch_db:account.report_invoice_document
msgid "<strong>Date:</strong>"
msgstr ""
#. module: account
#: model_terms:ir.ui.view,arch_db:account.report_invoice_document
msgid "<strong>Due Date:</strong>"
......
......@@ -23,7 +23,9 @@
<div id="informations" class="row mt32 mb32">
<div class="col-auto mw-100 mb-2" t-if="o.invoice_date" name="invoice_date">
<strong>Invoice Date:</strong>
<t t-if="o.type == 'out_invoice'"><strong>Invoice Date:</strong></t>
<t t-if="o.type == 'out_refund'"><strong>Credit Note Date:</strong></t>
<t t-else=""><strong>Date:</strong></t>
<p class="m-0" t-field="o.invoice_date"/>
</div>
<div class="col-auto mw-100 mb-2" t-if="o.invoice_date_due and o.type == 'out_invoice' and o.state == 'posted'" name="due_date">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment