Update of Snippet

This commit is contained in:
Kurt Gisler committed 2024-01-31 10:28:23 +01:00
1 parent 044585d59a
commit d1adb403d3
1 file changed
+52 -43
@@ -1,45 +1,54 @@
<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="50">
<xpath expr="//div[@name='comment']" position="replace">
<div style="margin-top: 50px">
<div>
<t t-if="not is_html_empty(o.narration)" name="narration">
<span t-field="o.narration"/>
</t>
<t t-elif="o.partner_id.country_id.code == 'CH'">
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
<t t-elif="o.partner_id.country_id.code == 'DE'">
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: DAP</span>
<br/>
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
<t t-elif="o.partner_id.country_id.code in ['GR', 'AL', 'HR', 'MNE', 'MC']">
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: Ex-works / Tax free intracommunity delivery acc. to UstG &#xA7;6a.</span>
<br/>
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
<t t-elif="o.partner_id.parent_id.country_id.country_group_ids and o.partner_id.parent_id.country_id.country_group_ids[0].id == 1">
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: DDP / Tax free intracommunity delivery acc. to UstG &#xA7;6a.</span>
<br/>
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
<t t-else="">
<span style="font-weight: bold">Incoterms: Ex-works</span>
<br/>
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
</div>
</div>
</xpath>
</data>
<div style="margin-top: 50px">
<div>
<t t-if="not is_html_empty(o.narration)" name="narration">
<span t-field="o.narration"/>
</t>
<t t-elif="o.company_id.id == 2">
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: DAP</span>
<br/>
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
<t t-elif="o.partner_id.country_id.code == 'CH'">
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
<t t-elif="o.partner_id.country_id.code == 'DE'">
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: DAP</span>
<br/>
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
<t t-elif="o.partner_id.country_id.code in ['GR', 'AL', 'HR', 'MNE', 'MC']">
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: Ex-works / Tax free intracommunity delivery acc. to UstG §6a.</span>
<br/>
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
<t t-elif="o.partner_id.parent_id.country_id.country_group_ids and o.partner_id.parent_id.country_id.country_group_ids[0].id == 1">
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: DDP / Tax free intracommunity delivery acc. to UstG §6a.</span>
<br/>
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
<t t-else="">
<span style="font-weight: bold">Incoterms: Ex-works</span>
<br/>
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
<br/>
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
</t>
</div>
</div>
</xpath>
</data>