[FIX] account: deduplicate the date string on invoice/refund PDF
Fixup of 1b80454fc26bdcf3bcfb97b37b3bd68d2982310d closes odoo/odoo#102746 X-original-commit: d93de218effbbffd083b60dc2064bded64c311dc Signed-off-by: Florian Gilbert (flg) <flg@odoo.com> Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
@@ -63,8 +63,8 @@
|
||||
<div id="informations" class="row mt-4 mb-4">
|
||||
<div class="col-auto col-3 mw-100 mb-2" t-if="o.invoice_date" name="invoice_date">
|
||||
<t t-if="o.move_type == 'out_invoice'"><strong>Invoice Date:</strong></t>
|
||||
<t t-if="o.move_type == 'out_refund'"><strong>Credit Note Date:</strong></t>
|
||||
<t t-if="o.move_type == 'out_receipt'"><strong>Receipt Date:</strong></t>
|
||||
<t t-elif="o.move_type == 'out_refund'"><strong>Credit Note Date:</strong></t>
|
||||
<t t-elif="o.move_type == 'out_receipt'"><strong>Receipt Date:</strong></t>
|
||||
<t t-else=""><strong>Date:</strong></t>
|
||||
<p class="m-0" t-field="o.invoice_date"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user