1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_cl_edi_stock/template/dd_template.xml
2024-12-10 09:04:09 +07:00

39 lines
1.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<odoo>
<data>
<template id="dd_template">
<DD>
<RE t-out="format_vat(picking.company_id.vat)"/>
<TD t-out="picking.l10n_latam_document_type_id.code"/>
<F t-out="int(picking.l10n_latam_document_number)"/>
<FE t-out="fe_value"/>
<RR t-out="rr_value"/>
<RSR t-out="rsr_value"/>
<MNT t-out="mnt_value"/>
<t t-if="it1_value">
<IT1 t-out="it1_value"/>
</t>
<CAF t-att-version="caf.xpath('//AUTORIZACION/CAF')[0].attrib['version']">
<DA>
<RE t-out="caf.xpath('//AUTORIZACION/CAF/DA/RE')[0].text"/>
<RS t-out="caf.xpath('//AUTORIZACION/CAF/DA/RS')[0].text"/>
<TD t-out="caf.xpath('//AUTORIZACION/CAF/DA/TD')[0].text"/>
<RNG>
<D t-out="caf.xpath('//AUTORIZACION/CAF/DA/RNG/D')[0].text"/>
<H t-out="caf.xpath('//AUTORIZACION/CAF/DA/RNG/H')[0].text"/>
</RNG>
<FA t-out="caf.xpath('//AUTORIZACION/CAF/DA/FA')[0].text"/>
<RSAPK>
<M t-out="caf.xpath('//AUTORIZACION/CAF/DA/RSAPK/M')[0].text"/>
<E t-out="caf.xpath('//AUTORIZACION/CAF/DA/RSAPK/E')[0].text"/>
</RSAPK>
<IDK t-out="caf.xpath('//AUTORIZACION/CAF/DA/IDK')[0].text"/>
</DA>
<FRMA t-att-algoritmo="caf.xpath('//AUTORIZACION/CAF/FRMA')[0].attrib['algoritmo']"
t-out="caf.xpath('//AUTORIZACION/CAF/FRMA')[0].text"/>
</CAF>
<TSTED t-out="time_stamp"/>
</DD>
</template>
</data>
</odoo>