| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <odoo> |
| 3 | <template id="my_view_name" inherit_id="l10n_it_edi.account_invoice_it_FatturaPA_export"> |
| 4 | <xpath expr='//DatiDDT' position="after"> |
| 5 | <t t-if="ddt_dict and not record.l10n_it_ddt_id" t-foreach="ddt_dict" t-as="picking"> |
| 6 | <DatiDDT> |
| 7 | <NumeroDDT t-if="picking.l10n_it_ddt_number" t-esc="format_alphanumeric(picking.l10n_it_ddt_number[-20:])"/> |
| 8 | <DataDDT t-esc="format_date(picking.date_done)"/> |
| 9 | <t t-if="len(ddt_dict) > 1" t-foreach="ddt_dict[picking]" t-as="line_ref"> |
| 10 | <RiferimentoNumeroLinea t-esc="line_ref"/> |
| 11 | </t> |
| 12 | </DatiDDT> |
| 13 | </t> |
| 14 | </xpath> |
| 15 | </template> |
| 16 | </odoo> |