Debian Codegraph @

addons/l10n_din5008/report/din5008_base_document_layout.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3 <template id="report_invoice_wizard_preview" inherit_id="web.report_invoice_wizard_preview">
4 <xpath expr="//t[@t-set='address']" position="after">
5 <t t-set="din5008_document_information">
6 <div class="information_block" t-if="company and company._name=='base.document.layout'">
7 <table>
8 <tr>
9 <td>Invoice No.:</td>
10 <td>INV/<t t-out="company.l10n_din5008_invoice_date.year"/>/12345</td>
11 </tr>
12 <tr>
13 <td>Invoice Date:</td>
14 <td><t t-out="company.l10n_din5008_invoice_date" t-options="{'widget': 'date'}"/></td>
15 </tr>
16 <tr>
17 <td>Due Date:</td>
18 <td><t t-out="company.l10n_din5008_due_date" t-options="{'widget': 'date'}"/></td>
19 </tr>
20 <tr>
21 <td>Delivery Date:</td>
22 <td><t t-out="company.l10n_din5008_delivery_date" t-options="{'widget': 'date'}"/></td>
23 </tr>
24 <tr>
25 <td>Reference:</td>
26 <td>SO/2021/45678</td>
27 </tr>
28 </table>
29 </div>
30 </t>
31 </xpath>
32 </template>
33 </odoo>