[FIX] l10n_it_stock_ddt: the date should be the date done and not the created

opw-3266332

closes odoo/odoo#127580

X-original-commit: d803f0b27c9456030d34e9de882d7a94443177e9
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Josse Colpaert <jco@odoo.com>
This commit is contained in:
Josse Colpaert
2023-07-07 12:09:57 +02:00
committed by Paolo Gatti (pgi)
parent 967f6b6121
commit 082c2c0b4e
@@ -5,7 +5,7 @@
<t t-if="ddt_dict and not record.l10n_it_ddt_id" t-foreach="ddt_dict" t-as="picking">
<DatiDDT>
<NumeroDDT t-esc="format_alphanumeric(picking.l10n_it_ddt_number[-20:])"/>
<DataDDT t-esc="format_date(picking.date)"/>
<DataDDT t-esc="format_date(picking.date_done)"/>
<t t-if="len(ddt_dict) > 1" t-foreach="ddt_dict[picking]" t-as="line_ref">
<RiferimentoNumeroLinea t-esc="line_ref"/>
</t>