[FIX] l10n_it_edi: edi rejects IdDocumento

The EDI rejects the xml if the <IdDocumento/> is longer than 20
characters long.

X-original-commit: 2c76293c1575923048d66e66c6999af773c309cf
Part-of: odoo/odoo#86614
This commit is contained in:
dbkosky
2022-03-17 23:07:56 +01:00
committed by dbkosky
parent 2538a71944
commit 31380f38f2
@@ -147,7 +147,7 @@
</DatiBollo>
</DatiGeneraliDocumento>
<DatiOrdineAcquisto t-if="record.ref">
<IdDocumento t-esc="record.ref" />
<IdDocumento t-esc="record.ref[:20]" />
</DatiOrdineAcquisto>
<DatiDDT t-if="record.l10n_it_ddt_id">
<!--2.1.8-->