Skip to content

Commit da533c9

Browse files
committed
[IMP] l10n_cl: copy of invoice for yielding
Creating a copy of the invoices with an additional information box task-5231290
1 parent 983f5f4 commit da533c9

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

addons/l10n_cl/views/report_invoice.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,42 @@
268268
</tr>
269269
</template>
270270

271+
<template id="report_invoice_document_copy" inherit_id="l10n_cl.report_invoice_document">
272+
<xpath expr="//div[@id='right-elements']" position="inside">
273+
<div t-if="show_information_box" name="custom_info_box" class="col-12 mt-3 p-3 border border-primary rounded">
274+
<div class="row mb-2">
275+
<div class="col-12 d-flex align-items-baseline">
276+
<span class="small me-2 text-nowrap">Nombre: </span>
277+
<div class="border-bottom pb-1 flex-grow-1" stylr="min-height: 1.2rem;"/>
278+
</div>
279+
</div>
280+
<div class="row mb-2">
281+
<div class="col-6 d-flex align-items-baseline">
282+
<span class="small me-2 text-nowrap">RUT: </span>
283+
<div class="border-bottom pb-1 flex-grow-1" stylr="min-height: 1.2rem;"/>
284+
</div>
285+
<div class="col-6 d-flex align-items-baseline">
286+
<span class="small me-2 text-nowrap">FETCHA: </span>
287+
<div class="border-bottom pb-1 flex-grow-1" stylr="min-height: 1.2rem;"/>
288+
</div>
289+
</div>
290+
<div class="row mb-2">
291+
<div class="col-6 d-flex align-items-baseline">
292+
<span class="small me-2 text-nowrap">Recinto: </span>
293+
<div class="border-bottom pb-1 flex-grow-1" stylr="min-height: 1.2rem;"/>
294+
</div>
295+
<div class="col-6 d-flex align-items-baseline">
296+
<span class="small me-2 text-nowrap">FIRMA: </span>
297+
<div class="border-bottom pb-1 flex-grow-1" stylr="min-height: 1.2rem;"/>
298+
</div>
299+
</div>
300+
<p class="mt-3 small text-justify">
301+
El acuse de recibo que se declara en este acto, de acuerdo a lo dispuesto en
302+
la letra b) del Art. 4° y la letra c) del Art. 5° de la Ley 19.983, acredita que
303+
la entrega de mercaderia(s) o servicio(s)
304+
</p>
305+
</div>
306+
</xpath>
307+
</template>
308+
271309
</odoo>

0 commit comments

Comments
 (0)