L10n Din5008
External Layout Din5008
Footer Xinomer
ID: mint_system.l10n_din5008.external_layout_din5008.footer_xinomer
<?xml version="1.0"?>
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
<xpath expr="//div[@class='company_details']/table" position="replace">
<style>
table#footer {
font-family: arial;
font-size: 11px;
}
table#footer {
line-height: 1.3;
}
</style>
<table id="footer" style="border-top-color:#F68113; border-top-width: 2px; ">
<tr>
<td style="padding-top:7px; width: 120px">XINOMER AG</td>
<td style="width: 150px">T + 41 41 552 48 00</td>
<td style="width: 40px; text-align: right">EUR</td>
<td style="width: 200px">CH09 8080 8003 5829 2832 4</td>
<td style="width: 60px; text-align: right">CH UID</td>
<td style="width: 105px ">CHE-392.238.657</td>
</tr>
<tr>
<td>Hinterbergstrasse 15</td>
<td>F + 41 41 552 48 01</td>
<td style="text-align: right">CHF</td>
<td>CH64 8080 8009 6920 6988 1</td>
<td style="text-align: right">DE UID</td>
<td>DE353683580</td>
</tr>
<tr>
<td>6330 Cham</td>
<td>info@xinomer.ch</td>
<td style="text-align: right">BIC</td>
<td>RAIFCH22XXX1</td>
<td style="text-align: right">FR UID</td>
<td>FR03980163075</td>
</tr>
<tr>
<td>Schweiz</td>
<td>www.xinomer.ch</td>
<td style="text-align: right">BC</td>
<td>80808</td>
<td style="text-align: right">EORI-Nr.</td>
<td>FRCH980163075</td>
</tr>
</table>
</xpath>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.footer_xinomer.xml
Footer
ID: mint_system.l10n_din5008.external_layout_din5008.footer
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
<xpath expr="//div[@class='company_details']/table" position="replace">
<style>
table#footer {
font-family: arial;
font-size: 11px;
}
table#footer {
line-height: 1.3;
}
</style>
<table id="footer" style="border-top-color:#F68113; border-top-width: 2px; ">
<tr>
<td style="padding-top:7px; width: 120px">XINOMER AG</td>
<td style="width: 150px">T + 41 41 552 48 00</td>
<td style="width: 40px; text-align: right">EUR</td>
<td style="width: 200px">CH09 8080 8003 5829 2832 4</td>
<td style="width: 60px; text-align: right">CH UID</td>
<td style="width: 105px ">CHE-392.238.657</td>
</tr>
<tr>
<td>Hinterbergstrasse 15</td>
<td>F + 41 41 552 48 01</td>
<td style="text-align: right">CHF</td>
<td>CH64 8080 8009 6920 6988 1</td>
<td style="text-align: right">DE UID</td>
<td>DE353683580</td>
</tr>
<tr>
<td>6330 Cham</td>
<td>info@xinomer.ch</td>
<td style="text-align: right">BIC</td>
<td>RAIFCH22XXX1</td>
<td style="text-align: right">FR UID</td>
<td>FR03980163075</td>
</tr>
<tr>
<td>Schweiz</td>
<td>www.xinomer.ch</td>
<td style="text-align: right">BC</td>
<td>80808</td>
<td style="text-align: right">EORI-Nr.</td>
<td>FRCH980163075</td>
</tr>
</table>
</xpath>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.footer.xml
Header
ID: mint_system.l10n_din5008.external_layout_din5008.header
<?xml version="1.0"?>
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
<xpath expr="//table[@class='company_header table-borderless']" position="replace">
<style>
.din_page.header table img {
float: none;
}
</style>
<table class="company_header table-borderless" t-att-style="'height: %dmm;' % (din_header_spacing or 27)">
<tr style="height: 35px">
</tr>
<tr>
<td>
<img t-if="company.logo" t-att-src="image_data_uri(company.logo)" t-att-style="'max-height: 20mm; display: block; margin: 0 auto; padding-top: 10mm;'"/>
</td>
</tr>
</table>
</xpath>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.header.xml
Hide Shipping Address
ID: mint_system.l10n_din5008.external_layout_din5008.hide_shipping_address
<?xml version="1.0"?>
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
<xpath expr="//div[@class='shipping_address']/../../../.." position="replace"/>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.hide_shipping_address.xml
Hide Title
ID: mint_system.l10n_din5008.external_layout_din5008.hide_title
<?xml version="1.0"?>
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
<xpath expr="//h2" position="replace"/>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.hide_title.xml
Hide Vat
ID: mint_system.l10n_din5008.external_layout_din5008.hide_vat
<?xml version="1.0"?>
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
<xpath expr="//div[@id='partner_vat_address_same_as_shipping']/.." position="replace"/>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.hide_vat.xml
Replace Address
ID: mint_system.l10n_din5008.external_layout_din5008.replace_address
<?xml version="1.0"?>
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
<xpath expr="//table[@class='din_company_info table-borderless']" position="replace">
<table style="margin-left: 15px">
<tr style="height: 100px;">
<td style="width: 280px; vertical-align: top">
<div style="border-bottom: solid 1px grey; padding-bottom: 3px">Leistungsempfänger</div>
<div style="padding-top: 5px">
<t>
<div t-field="o.partner_id.name"/>
<div t-field="o.partner_id.street"/>
<div>
<span t-field="o.partner_id.zip"/> <span t-field="o.partner_id.city"/>
</div>
<div t-field="o.partner_id.country_id"/>
</t>
</div>
</td>
<td style="width: 60px"/>
<td style="width: 280px; vertical-align: top">
<div style="border-bottom: solid 1px grey; padding-bottom: 3px">Leistender</div>
<div style="margin-top: 5px">
<t>
<div t-field="company.name"/>
<div t-field="company.street"/>
<div>
<span t-field="company.zip"/> <span t-field="company.city"/>
</div>
<div t-field="company.country_id"/>
</t>
</div>
</td>
</tr>
<tr style="height: 100px;">
<td style="width: 280px; vertical-align: top">
<div style="border-bottom: solid 1px grey; padding-bottom: 3px">Lieferadresse</div>
<div style="padding-top: 5px">
<t>
<div t-field="o.partner_shipping_id.parent_id"/>
<div t-field="o.partner_shipping_id.street"/>
<div>
<span t-field="o.partner_shipping_id.zip"/> <span t-field="o.partner_shipping_id.city"/>
</div>
<div t-field="o.partner_shipping_id.country_id"/>
</t>
</div>
</td>
<td/>
<td style="width: 280px; vertical-align: top">
<div style="border-bottom: solid 1px grey; padding-bottom: 3px">Geliefert von</div>
<div style="padding-top: 5px">
<t>
<div t-field="o.warehouse_id.partner_id.commercial_company_name"/>
<div t-field="o.warehouse_id.partner_id.name"/>
<div t-field="o.warehouse_id.partner_id.street"/>
<div>
<span t-field="o.warehouse_id.partner_id.zip"/> <span t-field="o.warehouse_id.partner_id.city"/>
</div>
<div t-field="o.warehouse_id.partner_id.country_id"/>
</t>
</div>
</td>
</tr>
</table>
<table style="margin-left: 15px">
<tr>
<td style="width: 80px; vertical-align: top">
<div>USt-IdNr.</div>
<div>EORI Nr.</div>
</td>
<td style="width: 200px; vertical-align: top">
<div>DE812033417</div>
<div>3001245</div>
</td>
<td style="width: 60px"/>
<td style="width: 80px; vertical-align: top">
<div>No. de TVA</div>
<div>No. de EORI</div>
</td>
<td style="width: 200px; vertical-align: top">
<div>FR03980163075</div>
<div>NFRCH980163075</div>
</td>
</tr>
<tr>
<td colspan="3" style="width: 340px; vertical-align: top">
<div>Steuerfreie innergemeinschaftliche Lieferung</div>
</td>
<td colspan="3" style="width: 280px; vertical-align: top">
<div>Livraison exonérée selon l'article 138 de la Directive TVA</div>
</td>
</tr>
</table>
<table style="margin-left: 15px; color: grey">
<tr>
<td>
<div>Land Leistungsempfänger: </div>
</td>
<td>
<div t-field="o.partner_id.country_id"/>
</td>
</tr>
<tr>
<td>
<div>Land Liefer- / "geliefert von" Adresse: </div>
</td>
<td>
<div t-field="o.warehouse_id.partner_id.country_id"/>
</td>
</tr>
</table>
</xpath>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.replace_address.xml
Replace Information Block
ID: mint_system.l10n_din5008.external_layout_din5008.replace_information_block
<?xml version="1.0"?>
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
<xpath expr="//div[@class='information_block']/.." position="replace">
<style>
div.information_block {
font-family: arial;
}
div.information_block tr {
heigt: 30px;
}
.din_page.invoice_note tr .address, .din_page.invoice_note tr .shipping_address {
width: 77mm;
}
div.information_block {
line-height: 1.5;
}
</style>
<td style="vertical-align: top;">
<div class="information_block">
<t t-if="'l10n_din5008_template_data' in company" t-set="template_data" t-value="company.l10n_din5008_template_data"/>
<t t-if="o and 'l10n_din5008_template_data' in o" t-set="template_data" t-value="o.l10n_din5008_template_data"/>
<table>
<tr>
<td colspan="2" style="font-size: 14px; font-weight: bold; padding-bottom: 7px; white-space: nowrap;">
<span t-if="not o and not docs">
<t t-out="company.l10n_din5008_document_title"/>
</span>
<span t-else="">
<t t-set="o" t-value="docs[0]" t-if="not o"/>
<span t-if="'l10n_din5008_document_title' in o">
<t t-out="o.l10n_din5008_document_title"/>
</span>
<span t-elif="'name' in o" t-field="o.name"/>
</span>
<span>
<t t-out="template_data[0][1]"/>
</span>
</td>
</tr>
<t t-foreach="template_data" t-as="row" t-index="i">
<t t-if="template_data != template_data[0]">
<tr>
<td>
<t t-out="row[0]"/>
</td>
<td>
<t t-out="row[1]"/>
</td>
</tr>
</t>
</t>
</table>
</div>
</td>
</xpath>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.replace_information_block.xml
Style Xinomer
ID: mint_system.l10n_din5008.external_layout_din5008.style_xinomer
<?xml version="1.0"?>
<data inherit_id="l10n_din5008.external_layout_din5008" priority="60">
<xpath expr="//div" position="after">
<style>
.o_company_2_layout {
font-family: arial;
}
.address {
line-height: 1.5;
}
</style>
</xpath>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.style_xinomer.xml