Files
Odoo-Build/snippets/web.external_layout_standard.replace_footer.xml
T

93 lines
2.2 KiB
XML

<data inherit_id="web.external_layout_standard" priority="50">
<xpath expr="/t/div[3]" position="replace">
<div t-attf-class="footer o_standard_footer o_company_#{company.id}_layout">
<div align="right" style="color:black; font-size:9pt">
Page: <span class="page"/>
/ <span class="topage"/>
</div>
</div>
<!--
<div t-attf-class="footer o_standard_footer o_company_#{company.id}_layout">
<div align="right">
Seite: <span class="page"/>
/ <span class="topage"/>
</div>
</div>
-->
</xpath>
</data>
<!--
<data inherit_id="web.external_layout_standard" priority="50">
<xpath expr="/t/div[3]" position="replace">
<div t-attf-class="footer o_standard_footer o_company_#{company.id}_layout">
<style>
.footer_table {
width: 80%;
font-size: 9pt;
white-space: nowrap;
margin: 0 auto;
}
.footer_table span {
margin-right: 0px;
}
.footer_table th {
font-weight: bold;
}
</style>
<table class="footer_table" style="width: 85%;">
<tr>
<td>
<span style="font-weight: bold" t-field="company.partner_id"/>
</td>
<td>
<span t-field="company.street"/>,
</td>
<td>
<span t-field="company.zip"/>
</td>
<td>
<span t-field="company.city"/>
</td>
<th>Bank: </th>
<td>
<span t-field="company.partner_id.bank_ids.bank_name"/>
</td>
<th>Account Owner:</th>
<td>
<span t-field="company.partner_id.bank_ids.partner_id"/>
</td>
</tr>
</table>
<table class="footer_table" style="width: 90%;">
<tr>
<th>BIC:</th>
<td>
<span t-field="company.partner_id.bank_ids.bank_id.bic"/>
</td>
<th>IBAN:</th>
<td>
CH48 0900 0000 1537 2934 4
</td>
<th>VAT no.:</th>
<td>
<span t-field="company.company_registry"/>
</td>
<th>VAT identification number:</th>
<td>
DE355924262
</td>
</tr>
</table>
</div>
</xpath>
</data>
-->