diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/l10n_it_stock_ddt/data | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/l10n_it_stock_ddt/data')
| -rw-r--r-- | addons/l10n_it_stock_ddt/data/l10n_it_ddt_template.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/addons/l10n_it_stock_ddt/data/l10n_it_ddt_template.xml b/addons/l10n_it_stock_ddt/data/l10n_it_ddt_template.xml new file mode 100644 index 00000000..259bba48 --- /dev/null +++ b/addons/l10n_it_stock_ddt/data/l10n_it_ddt_template.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<odoo> + <template id="my_view_name" inherit_id="l10n_it_edi.account_invoice_it_FatturaPA_export"> + <xpath expr='//DatiDDT' position="after"> + <t t-if="ddt_dict and not record.l10n_it_ddt_id"> + <t t-foreach="ddt_dict" t-as="picking"> + <DatiDDT> + <NumeroDDT t-esc="picking.l10n_it_ddt_number"/> + <DataDDT t-esc="format_date(picking.date)"/> + <t t-if="len(ddt_dict) > 1"> + <t t-foreach="ddt_dict[picking]" t-as="line_ref"> + <RiferimentoNumeroLinea t-esc="line_ref"/> + </t> + </t> + </DatiDDT> + </t> + </t> + </xpath> + </template> +</odoo> |
