L10n Din5008
External Layout Din5008
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="sale.report_saleorder_document" priority="50">
<xpath expr="//h2" position="replace">
</xpath>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.hide_title.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
<data inherit_id="l10n_din5008.external_layout_din5008" priority="50">
<xpath expr="//div[@class='information_block']/.." position="replace">
<td style="width:30px;"/>
<td style="vertical-align: top;">
<table>
<td style="font-size: 14px; font-weight: bold; padding-bottom: 15px; white-space: nowrap;">
<span style="margin-right: 5px;" t-field="o.l10n_din5008_document_title"/>
<span t-field="o.name"/>
</td>
<tr>
<td style="width: 100px;">
<span>Datum:</span>
</td>
<td>
<span t-field="o.name"/>
</td>
</tr>
<tr>
<td>
<span>Unser Auftrag:</span>
</td>
<td>
<span t-field="o.name"/>
</td>
</tr>
<tr>
<td>
<span>Ihr Auftrag:</span>
</td>
<td>
<span t-field="o.name"/>
</td>
</tr>
<tr>
<td>
<span>Lieferdatum:</span>
</td>
<td>
<span t-field="o.name"/>
</td>
</tr>
<tr>
<td>
<span>Incoeterm:</span>
</td>
<td>
<span t-field="o.name"/>
</td>
</tr>
</table>
</td>
</xpath>
</data>
Source: snippets/l10n_din5008.external_layout_din5008.replace_information_block.xml