New Snippets
This commit is contained in:
1 parent
d67dc61c1f
commit
0bb1cbcebb
3 files changed
+74
No files matched your search
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
|
||||
<xpath expr="//div[@class='company_details']/table" position="replace">
|
||||
<table class="table-borderless">
|
||||
<tr>
|
||||
<td>
|
||||
<ul class="list-inline text-nowrap">
|
||||
<li t-if="company.company_details">
|
||||
<span t-field="company.company_details"/>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
<td>
|
||||
<ul class="list-inline">
|
||||
<li t-if="company.report_footer">
|
||||
<span t-field="company.report_footer"/>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
<td t-if="company.partner_id.bank_ids">
|
||||
<ul class="list-inline">
|
||||
<t t-foreach="company.partner_id.bank_ids[:1]" t-as="partner_bank">
|
||||
<li>BIC: <span t-field="partner_bank.bank_bic"/>
|
||||
</li>
|
||||
</t>
|
||||
<t t-foreach="company.partner_id.bank_ids[:2]" t-as="bank">
|
||||
<li>
|
||||
<span t-field="bank.currency_id"/>
|
||||
: <span t-field="bank.acc_number"/>
|
||||
</li>
|
||||
</t>
|
||||
</ul>
|
||||
</td>
|
||||
<td>
|
||||
<ul class="list-inline">
|
||||
<li>CH: UID <span t-field="company.vat"/>
|
||||
</li>
|
||||
<li>DE: USt-IdNr. <span t-field="company.company_registry"/>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
|
||||
<xpath expr="//table[@class='company_header table-borderless']" position="replace">
|
||||
<table class="company_header table-borderless" t-att-style="'height: %dmm;' % (din_header_spacing or 27)">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="h3 mt0" t-field="company.report_header"/>
|
||||
</td>
|
||||
<td style="width: 30%;"/>
|
||||
<td style="width: 40%;">
|
||||
<table style="width: 40%;">
|
||||
<tr>
|
||||
<td style="width: 40%; text-align: center;">
|
||||
<img t-if="company.logo" t-att-src="image_data_uri(company.logo)" t-att-style="'max-height: 40mm;' 'display: inline-block;'"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<td style="width: 30%;"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="sale.report_saleorder_document" priority="60">
|
||||
<xpath expr="//table[1]" position="attributes">
|
||||
<attribute name="class">table table-sm o_main_table mt-4</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in new issue
Block a user