94 lines
4.4 KiB
XML
94 lines
4.4 KiB
XML
<?xml version="1.0"?>
|
|
<data inherit_id="purchase.report_purchasequotation_document" priority="50">
|
|
<!-- replace product description -->
|
|
<xpath expr="//table/tbody/t/tr/t[1]/td[3]/span" position="replace">
|
|
<t>
|
|
<span style="font-weight:bold;" t-field="order_line.product_id.type_description"/>
|
|
</t>
|
|
</xpath>
|
|
<!-- add second row -->
|
|
<xpath expr="//tbody//tr[1]" position="after">
|
|
<tr>
|
|
<td style="padding-bottom :10px; padding-left:3px; line-height: 1.2"/>
|
|
<td style="padding:0; padding-left:3px; line-height: 1.2"/>
|
|
<td style="padding:0; padding-left:3px; line-height: 1.2" colspan="4">
|
|
<span t-field="order_line.name"/>
|
|
<br/>
|
|
<t t-if="order_line.product_id.country_of_origin_id.code">Ursprungsland: <span t-field="order_line.product_id.country_of_origin_id.code"/>
|
|
</t>
|
|
<t t-if="order_line.product_id.hs_code"> / Zollposition: <span t-field="order_line.product_id.hs_code"/>
|
|
</t>
|
|
</td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgb(220,220,220)">
|
|
<td colspan="8"/>
|
|
</tr>
|
|
</xpath>
|
|
<xpath expr="//table[2]" position="attributes">
|
|
<attribute name="style">color: black; font-size:9pt; font-family: arial</attribute>
|
|
<attribute name="class">table table-borderless table-sm </attribute>
|
|
</xpath>
|
|
<!-- header -->
|
|
<xpath expr="//table[2]/thead" position="attributes">
|
|
<attribute name="style">color: black; font-size:9pt; border-top-style:solid; border-bottom-style:solid; border-width:1px; border-color:black</attribute>
|
|
</xpath>
|
|
<!-- Header: position -->
|
|
<xpath expr="//table[2]/thead/tr/th[1]" position="attributes"><attribute name="style">width: 20px</attribute>/>
|
|
</xpath>
|
|
<!-- header: default code -->
|
|
<xpath expr="//table/thead/tr/th[2]" position="attributes">
|
|
<attribute name="style">width: 100px; text-align: right; padding-right: 10px</attribute>
|
|
</xpath>
|
|
<!-- header: description -->
|
|
<xpath expr="//table/thead/tr/th[3]" position="attributes">
|
|
<attribute name="style">width: 400px;</attribute>
|
|
<attribute name="class" separator=" " add="text-start" remove="text-center"/>
|
|
</xpath>
|
|
<!-- header: date_planned -->
|
|
<xpath expr="//table/thead/tr/th[4]" position="attributes">
|
|
<attribute name="class" separator=" " add="text-left" remove="text-center"/>
|
|
</xpath>
|
|
<!-- position -->
|
|
<xpath expr="//table/tbody/t/tr/t[1]/td[1]" position="attributes"><attribute name="style">text-align: right;</attribute>/>
|
|
</xpath>
|
|
<!-- default code -->
|
|
<xpath expr="//table/tbody/t/tr/t[1]/td[2]" position="attributes">
|
|
<attribute name="style">text-align: right; padding-right: 10px</attribute>
|
|
</xpath>
|
|
<!-- date_planned -->
|
|
<xpath expr="//table/tbody/t/tr/t[1]/td[4]" position="attributes">
|
|
<attribute name="class" separator=" " add="text-left" remove="text-center"/>
|
|
</xpath>
|
|
<xpath expr="//table/tbody/t/tr/t[1]/td[4]/span[1]" position="attributes">
|
|
<attribute name="t-options-widget">"date"</attribute>
|
|
</xpath>
|
|
<!-- qty -->
|
|
<xpath expr="//table/tbody/t/tr/t[1]/td[5]/span" position="replace">
|
|
<span style="font-weight: bold" t-esc="'%g' % order_line.product_qty"/>
|
|
</xpath>
|
|
<xpath expr="//table[2]" position="after">
|
|
<t t-if="o.note_footer != '<p><br></p>'">
|
|
<span class="note" t-field="o.note_footer"/>
|
|
</t>
|
|
<table class="table table-borderless table-sm" style="margin-top:20px; color:black; font-family: arial; font-size:9pt; border-top-style:solid; border-bottom-style:solid; border-width:1px; border-color:black">
|
|
<tr>
|
|
<td style="width:15.5%; text-align:left">
|
|
<Strong>Warenwert</Strong>
|
|
</td>
|
|
<td style="width:23%; text-align:left">
|
|
<span t-field="o.currency_id"/>
|
|
</td>
|
|
<td style="width:12%; text-align:left"/>
|
|
<td style="width:17%; text-align:left">
|
|
</td>
|
|
<td style="width:14%; text-align:right">
|
|
<Strong>Bestellbetrag</Strong>
|
|
</td>
|
|
<td style="width:18%; text-align:right" class="text-end">
|
|
<span t-field="o.currency_id"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</xpath>
|
|
</data>
|