Stock¶
Label Transfer Template View¶
Basis57¶
ID: mint_system.stock.label_transfer_template_view.basis57
Inherit ID: stock.label_transfer_template_view
<t t-name="stock.label_transfer_template_view.basis57">
<t t-call="web.basic_layout">
<style>
.external-ref {
font-size: 14mm;
}
.box.external-ref {
font-size: 20mm;
}
.title {
font-size: 12mm;
}
.address {
font-size: 10mm;
}
.box.address {
font-size: 14mm;
font-weight: bolder;
}
.barcode {
font-size: 6mm;
}
.default {
font-size: 7mm;
}
.bolder {
font-size: 7mm;
font-weight: bolder;
}
.footer {
font-size: 7mm;
}
div.label {
line-height: 1.2;
text-align: center;
}
br {
font-size: 2mm;
}
.space-right {
margin-right: 2mm
}
.space-left {
margin-left: 2mm
}
.address-space-right {
padding-right: 3mm
}
svg {
position: absolute;
left: 10px;
margin-top: 10px
}
</style>
<t t-foreach="docs" t-as="picking">
<t t-foreach="picking.move_lines.filtered(lambda m: m.quantity_done > 0 and m.product_packaging)" t-as="move">
<!--Set default values-->
<t t-set="temperature" t-value="2"/>
<t t-set="today" t-value="context_timestamp(datetime.datetime.now())"/>
<t t-set="packaging" t-value="move.product_packaging"/>
<t t-set="external_ref" t-value="picking.partner_id.x_external_ref"/>
<t t-set="print_header" t-value="True"/>
<t t-set="print_delivery_date" t-value="False"/>
<t t-set="print_delivery_date_only" t-value="False"/>
<t t-set="barcode" t-value="packaging.barcode"/>
<t t-set="qty_description" t-value="packaging.x_qty_description"/>
<!--Print delivery date if shipping method is Bordereau-->
<t t-if="picking.carrier_id.name == 'Bordereau'">
<t t-set="print_delivery_date" t-value="True"/>
</t>
<!--Calculate default expiration date-->
<t t-set="delta" t-value="datetime.timedelta(days=move.product_id.x_expiration_days)"/>
<t t-set="consume_until" t-value="today + delta"/>
<!--Print report for each move line-->
<t t-set="move_lines" t-value="move.move_line_ids.filtered(lambda l: l.qty_done > 0)"/>
<t t-foreach="move_lines" t-as="move_line">
<!--Set default values-->
<t t-set="count_boxes" t-value="0"/>
<t t-set="count_labels" t-value="0"/>
<t t-set="count_labels" t-value="move_line.qty_done/(packaging.qty or 1.0)"/>
<t t-if="packaging.name == 'Kiste'">
<t t-set="print_weight" t-value="True"/>
</t>
<!--Compute box count-->
<t t-if="count_boxes == 0">
<!--<span>qty_done:</span><span t-esc="move_line.qty_done" />-->
<!--<span>quantity_done:</span><span t-esc="move.quantity_done" />-->
<!--<span>x_count_boxes:</span><span t-esc="move.x_count_boxes" />-->
<t t-set="count_boxes" t-value="int(((move_line.qty_done + 0.1) / move.quantity_done) * move.x_count_boxes)"/>
</t>
<t t-if="packaging.x_print_without_parent" t-set="count_boxes" t-value="0"/>
<t t-set="count_pages" t-value="int(count_labels + count_boxes)"/>
<t t-if="packaging.x_print_parent_only" t-set="count_pages" t-value="int(count_boxes)"/>
<!--<span>count_boxes:</span><span t-esc="count_boxes" />-->
<!--<span>count_labels:</span><span t-esc="count_labels" />-->
<!--<span>count_pages:</span><span t-esc="count_pages" />-->
<!--Print report for each label and box count-->
<t t-foreach="range(0, count_pages)" t-as="page">
<!--Caclulate expiration date from settings-->
<t t-if="move.product_id.use_expiration_date">
<t t-set="delta" t-value="datetime.timedelta(days=move.product_id.expiration_time)"/>
<t t-set="consume_until" t-value="context_timestamp(move_line.lot_id.removal_date)"/>
<t t-set="today" t-value="consume_until - delta"/>
</t>
<!--First print normal labels and then box labels-->
<t t-if="page_index >= (count_pages - count_boxes)">
<t t-set="qty_description"/>
<t t-if="external_ref">
<t t-set="print_header" t-value="False"/>
<t t-set="print_delivery_date_only" t-value="True"/>
</t>
<t t-if="packaging.parent_packaging">
<t t-if="packaging.parent_packaging.barcode" t-set="barcode" t-value="packaging.parent_packaging.barcode"/>
<t t-set="qty_description" t-value="packaging.parent_packaging.x_qty_description"/>
</t>
</t>
<div class="page">
<div class="label">
<t t-if="picking.partner_id.hide_address or not print_header">
<br/>
<br/>
</t>
<br/>
<br/>
<t t-if="print_header">
<t t-if="picking.partner_id.x_packaging_ref">
<span class="text-uppercase use-font-opensans-medium title space-right" t-esc="picking.partner_id.x_packaging_ref"/>
</t>
<span class="text-uppercase use-font-opensans-medium title">Gotthard-Zander</span>
<br/>
<span class="text-uppercase use-font-opensans-bold title" t-esc="move.product_id.name"/>
<t t-if="move.product_id.x_calibre">
<span class="use-font-opensans-medium default space-left" t-esc="move.product_id.x_calibre"/>
</t>
<br/>
<span class="use-font-opensans-medium default">(Sander lucioperca) in Aquakultur gewonnen</span>
<br/>
<t t-if="qty_description or print_weight">
<span class="use-font-opensans-medium default">Gewicht: </span>
<span class="use-font-opensans-medium default" t-if="not print_weight" t-esc="qty_description"/>
<span class="use-font-opensans-medium default" t-if="print_weight" t-esc="move.quantity_done *1000" t-options="{"widget": "float", "precision": 0}"/>
<span class="use-font-opensans-medium default" t-if="print_weight">
g zu
<span t-esc="move.x_count_boxes"/>
Kisten
</span>
</t>
</t>
<br/>
<t t-if="print_delivery_date and not print_delivery_date_only">
<span class="use-font-opensans-medium bolder">Lieferdatum: </span>
<span class="use-font-opensans-medium bolder" t-esc="picking.scheduled_date.strftime('%d.%m.%Y')"/>
<br/>
</t>
<br/>
<t t-if="not picking.partner_id.hide_address">
<div id="address">
<t t-if="external_ref and print_header">
<span class="use-font-opensans-bold external-ref" t-esc="external_ref"/>
<br/>
<span class="use-font-opensans-bold address" t-field="picking.partner_id.name"/>
<br/>
<span class="use-font-opensans-bold address address-space-right" t-field="picking.partner_id.zip"/>
<span class="use-font-opensans-bold address" t-field="picking.partner_id.city"/>
<br/>
<br/>
</t>
<t t-if="external_ref and not print_header">
<span class="use-font-opensans-bold box external-ref" t-esc="external_ref"/>
<br/>
<span class="use-font-opensans-bold box address" t-field="picking.partner_id.name"/>
<br/>
<!--<span class="use-font-opensans-bold box address address-space-right" t-field="picking.partner_id.zip" />-->
<!--<span class="use-font-opensans-bold box address" t-field="picking.partner_id.city" />-->
<br/>
<br/>
</t>
<t t-if="not external_ref and print_header">
<span class="use-font-opensans-bold address" t-field="picking.partner_id.name"/>
<br/>
<span class="use-font-opensans-bold address address-space-right" t-field="picking.partner_id.zip"/>
<span class="use-font-opensans-bold address" t-field="picking.partner_id.city"/>
<br/>
<br/>
</t>
</div>
</t>
<t t-if="not print_delivery_date_only">
<span class="use-font-opensans-medium default">Verpackt am: </span>
<span class="use-font-opensans-medium default" t-esc="today.strftime('%d.%m.%Y')"/>
<br/>
<span class="use-font-opensans-medium default">Mindestens haltbar bis: </span>
<span class="use-font-opensans-medium default" t-esc="consume_until.strftime('%d.%m.%Y')"/>
<br/>
<span class="use-font-opensans-medium default">
Aufbewahrung: bei
<span t-esc="move.product_id.x_storage_temperature"/>
°C
</span>
</t>
<t t-if="print_delivery_date_only">
<span class="use-font-opensans-medium address">Lieferdatum: </span>
<span class="use-font-opensans-medium address" t-esc="picking.scheduled_date.strftime('%d.%m.%Y')"/>
<br/>
</t>
<br/>
<br/>
<t>
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('EAN13', barcode, 600, 50)" alt="Barcode"/>
<br/>
<span class="use-font-opensans-medium barcode" t-esc="'%s %s %s' % (barcode[0], barcode[1:8], barcode[8:])"/>
</t>
<br/>
<br/>
<span class="text-uppercase use-font-opensans-bold default">Gotthard-Zander</span>
<span class="use-font-opensans-bold default"> by Basis57</span>
<br/>
<br/>
<span class="use-font-opensans-medium footer" t-field="res_company.street"/>
<span class="use-font-opensans-medium footer space-right">,</span>
<span class="use-font-opensans-medium footer space-right" t-field="res_company.zip"/>
<span class="use-font-opensans-medium footer" t-field="res_company.city"/>
<br/>
<span class="use-font-opensans-medium footer">www.gotthard-zander.ch</span>
<svg viewBox="0 0 150 100" width="150" height="100">
<ellipse style="stroke: rgb(0, 0, 0); fill: none; stroke-width: 4px;" cx="75" cy="49.556" rx="70" ry="45" data-bx-origin="-1.166667 -2"/>
<text style="fill: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; font-weight: 700; text-anchor: middle; white-space: pre;" data-bx-origin="-1.600941 -3.727571" transform="matrix(1.475051, 0, 0, 1.713593, -78.134323, -123.083534)">
<tspan x="102.8" y="96.183">CH</tspan>
<tspan x="102.8" dy="1em">​</tspan>
<tspan>71758556</tspan>
</text>
</svg>
</div>
<p style="page-break-before:always;"/>
</div>
</t>
</t>
</t>
</t>
</t>
</t>
Trimada¶
ID: mint_system.stock.label_transfer_template_view.trimada
Inherit ID: stock.label_transfer_template_view
<t t-name="stock.label_transfer_template_view.trimada">
<t t-call="web.basic_layout">
<t t-foreach="docs" t-as="picking">
<t t-foreach="picking.move_line_ids" t-as="move">
<style>
.label {
font-family: arial;
}
.box {
margin: 0mm 0 2mm 0;
}
.box1 {
margin: 9mm 0 2mm 0;
}
.box2 {
margin: 7mm 0 2mm 0;
}
.box3 {
margin: 2mm 0 2mm 0;
}
.padding {
padding-bottom: 3mm;
}
.title {
font-size: 11mm;
margin: 3mm 3mm 0 3mm;
font-weight: bold;
text-align: center;
border-bottom: solid 1px;
line-height: 1;
}
.frame {
border-bottom: solid 1px;
margin: 0 3mm 0 3mm;
}
.description {
font-size: 7mm;
height: 23mm;
width: 98%;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
padding: 10px;
display: flex;
justify-content: center;
align-items: center;
}
.delivery {
font-size: 6mm;
margin: 3mm 3mm 0 3mm;
text-align: left;
border-bottom: solid 1px;
line-height: 1;
height: 35mm;
}
.comment {
font-size: 5mm;
text-align: center;
height: 8mm;
line-height: 10mm;
}
.col-6 {
padding-right: 0;
padding-left: 0;
}
</style>
<div class="page">
<div class="label">
<div class="row title">
<div class="col-6 box2">
<span t-esc="move.product_id.default_code"/>
</div>
<div t-if="move.product_id.barcode" class="col-6 box2 text-end">
<img t-att-src="'/report/barcode/Code128/%s?width=250&height=85&quiet=0' % move.product_id.barcode"
alt="Barcode"/>
</div>
</div>
<div class="frame">
<div class="description">
<span t-esc="move.product_id.name"/>
</div>
<div class="description">
<span t-esc="move.product_id.type_description"/>
</div>
</div>
<div class="row delivery">
<div class="col-6 box">
<div class="padding">
<span t-esc="move.date" t-options="{'widget': 'date'}"/>
</div>
<div class="padding">
<span t-esc="move.origin"/>
</div>
</div>
<div class="col-6 box3">
<div t-if="move.product_id.feeder_id" class="text-end">
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=0' % ('Code128', move.product_id.feeder_id, 250, 80)" alt="Barcode"/>
<br/>
</div>
<div class="text-center">
<span class="text-center" t-esc="move.product_id.feeder_id"/>
</div>
</div>
</div>
<div class="comment">
<span>Trimada AG, CH-5610 Wohlen – www.trimada.ch</span>
</div>
</div>
</div>
<p style="page-break-before:always;"/>
</t>
</t>
</t>
</t>
Product Template Search Form View Stock¶
Hide Location Id¶
ID: mint_system.stock.product_template_search_form_view_stock.hide_location_id
Inherit ID: stock.product_template_search_form_view_stock
<data priority="50">
<xpath expr="//field[@name='location_id']" position="replace">
</xpath>
</data>
Hide Pricelist Id¶
ID: mint_system.stock.product_template_search_form_view_stock.hide_pricelist_id
Inherit ID: stock.product_template_search_form_view_stock
<data priority="50">
<xpath expr="//field[@name='pricelist_id']" position="replace">
</xpath>
</data>
Hide Warehouse Id¶
ID: mint_system.stock.product_template_search_form_view_stock.hide_warehouse_id
Inherit ID: stock.product_template_search_form_view_stock
<data priority="50">
<xpath expr="//field[@name='warehouse_id']" position="replace">
</xpath>
</data>
Report Bordero¶
Basis57¶
ID: mint_system.stock.report_bordero.basis57
Inherit ID: stock.report_bordero
<t t-name="stock.report_bordero.basis57">
<t t-call="web.html_container">
<t t-call="web.external_layout">
<div class="page">
<h2>Bordereau</h2>
<p>Lieferdatum: <span t-esc="context_timestamp(docs[0].scheduled_date).strftime('%Y-%m-%d')"/>
</p>
<table class="table table-sm">
<thead>
<tr>
<th>Kunde</th>
<th>Strasse</th>
<th>PLZ</th>
<th>Ort</th>
<th class="text-right">Gebinde</th>
<th class="text-right">Total Gewicht</th>
</tr>
</thead>
<tbody>
<t t-set="total_boxes" t-value="0"/>
<t t-set="total_weight" t-value="0"/>
<tr t-foreach="set([picking.partner_id for picking in docs.move_ids_without_package])" t-as="partner_id">
<t t-set="partner_moves" t-value="docs.move_ids_without_package.filtered(lambda x: x.partner_id == partner_id)"/>
<t t-set="count_boxes" t-value="sum(partner_moves.filtered(lambda m: m.product_id.x_storage_temperature > -20).mapped('x_count_boxes'))"/>
<t t-set="count_cold_storage_boxes" t-value="sum(partner_moves.filtered(lambda m: m.product_id.x_storage_temperature < -20).mapped('x_count_boxes'))"/>
<t t-set="boxes_weight" t-value="sum(partner_moves.mapped('weight'))"/>
<t t-set="total_boxes" t-value="total_boxes + count_boxes + count_cold_storage_boxes"/>
<t t-set="total_weight" t-value="total_weight + boxes_weight"/>
<td>
<span t-field="partner_id.name"/>
</td>
<td>
<span t-field="partner_id.street"/>
</td>
<td>
<span t-field="partner_id.zip"/>
</td>
<td>
<span t-field="partner_id.city"/>
</td>
<td class="text-right">
<t t-if="count_boxes > 0">
<span><span t-esc="count_boxes"/> Frisch</span>
</t>
<t t-if="count_cold_storage_boxes > 0">
<span><span t-esc="count_cold_storage_boxes"/> TK</span>
</t>
</td>
<td class="text-right">
<span t-esc="round(boxes_weight,2)"/>
<span> kg</span>
</td>
</tr>
</tbody>
</table>
<div class="clearfix">
<div id="total" class="row">
<div t-attf-class="#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ml-auto">
<table class="table table-sm" style="page-break-inside: avoid;">
<tr class="border-black o_total">
<td>
<strong>Total</strong>
</td>
<td class="text-right">
<span t-esc="total_boxes"/>
<span> Gebinde</span>
</td>
<td class="text-right">
<span t-esc="round(total_weight,2)"/>
<span> kg</span>
</td>
</tr>
</table>
</div>
</div>
</div>
<br/>
<t t-set="footer" t-value="docs.env['ir.translation'].search([('src', '=', 'stock.report_bordero.basis57.footer')], limit=1)"/>
<t t-if="footer">
<p>
<t t-raw="footer.value"/>
</p>
</t>
</div>
</t>
</t>
</t>
Report Certificatecofc¶
Tissa¶
ID: mint_system.stock.report_certificatecofc.tissa
Inherit ID: stock.report_certificatecofc
<t t-name="stock.report_certificatecofc.tissa">
<t t-call="web.html_container">
<t t-call="web.external_layout">
<t t-foreach="docs" t-as="o">
<style>
table {
width: 100%;
margin-bottom: 25px;
font-size: 11pt;
font-family: arial;
}
table th {
padding: 0 5px 0 5px;
}
table td {
padding: 0 5px 0 5px;
}
table#title {
background-color: rgb(216,216,216);
}
.table_info {
border: solid 1px;
}
table#workorder {
border: solid 1px;
}
table#quality {
border: solid 1px;
}
table#tracing {
border: solid 1px;
}
h2 {
font-size: 16pt;
font-weight: bold;
margin-top: 10mm;
margin-bottom: 10mm;
text-align: center;
}
div#subtitle {
font-size: 11pt;
font-family: arial;
}
</style>
<t t-set="o" t-value="o.with_context(lang=o.partner_id.lang)"/>
<div class="page">
<h2>
<span>Werkszeugnis nach EN 10 204-3.1 für Glasgewebe</span>
</h2>
<table id="title">
<tr>
<td width="50%">Hersteller:</td>
<td><span t-field="o.company_id.name"/>
, <span t-field="o.company_id.country_id.code"/>
- <span t-field="o.company_id.zip"/>
<span t-field="o.company_id.city"/>
</td>
</tr>
</table>
<table class="table_info">
<tr>
<td width="50%">Hersteller Bezeichnung:</td>
<td width="50%">
<span t-field="o.product_id.categ_id"/>
</td>
</tr>
<tr style="border-bottom: solid 1px">
<td>Artikelnr.</td>
<td width="50%">
<span t-field="o.product_id.name"/>
</td>
</tr>
<tr>
<td>Liefermenge:</td>
<td>
<span t-field="o.move_lines[0].quantity_done"/>
<span t-field="o.move_lines[0].product_uom"/>
</td>
</tr>
<tr>
<td>Lieferdatum:</td>
<td>
<span t-field="o.date_done" t-options="{"widget": "date"}"/>
</td>
</tr>
<tr style="border-bottom: solid 1px">
<td>Lieferschein-/Auftragsnummer:</td>
<td><span t-field="o.name"/>
/
<span t-field="o.origin"/>
<t t-if="o.move_line_ids[0].lot_id.x_production_ids[0].move_raw_ids[0].move_line_ids[0].lot_id.x_production_id">
/ <span t-field="o.move_line_ids[0].lot_id.x_production_ids[0].move_raw_ids[0].move_line_ids[0].lot_id.x_production_id"/>
</t>
</td>
</tr>
<tr>
<td>Kunde / Fax:</td>
<td>
<span t-field="o.partner_id"/>
</td>
</tr>
<tr style="border-bottom: solid 1px">
<td/>
<td>
<span t-field="o.partner_id.mobile"/>
</td>
</tr>
<tr>
<td>Bestellnummer:</td>
<td>
<span t-field="o.x_studio_kundenreferenz"/>
</td>
</tr>
<tr>
<td>Kunden Artikelbezeichnung:</td>
<td>
<span t-field="o.product_id.x_studio_kundenartikelnr"/>
</td>
</tr>
<tr>
<td/>
<td>
<span t-field="o.product_id.description_sale"/>
</td>
</tr>
<table class="table_info">
<tr>
<td width="50%">Gewebebindung:</td>
<td width="50%">
<span t-field="o.product_id.x_studio_bindung_1"/>
</td>
</tr>
</table>
</table>
<table id="workorder">
<tr>
<th width="50%">Liefermenge</th>
<th width="50%">Chargennummer</th>
</tr>
<tr>
<t t-set="lines" t-value="o.move_line_ids"/>
<tr t-foreach="lines" t-as="move_line">
<td width="25%">
<span t-field="move_line.qty_done"/>
</td>
<td width="75%">
<span t-field="move_line.lot_id"/>
</td>
</tr>
</tr>
</table>
<t t-set="products" t-value="list(set([line.product_id for line in o.move_line_ids.lot_id.x_production_ids.move_raw_ids.move_line_ids.lot_id.x_production_ids.traceability_line_ids]))"/>
<table id="tracing">
<tr>
<th width="25%">Ressource</th>
<th width="10%">Tex</th>
<th width="10%">Rohmat.</th>
<th width="10%">Filament</th>
<th width="10%">Drehung</th>
<th width="15%">Schlichte</th>
<th width="20%">Los</th>
</tr>
<t t-foreach="products" t-as="product_line">
<t t-set="lots_seen" t-value="[]"/>
<t t-set="move_lines" t-value="o.move_line_ids.lot_id.x_production_ids.move_raw_ids.move_line_ids.lot_id.x_production_ids.traceability_line_ids.filtered(lambda l: product_line.id == l.product_id.id)"/>
<tr t-foreach="move_lines" t-as="move_line">
<t t-if="move_line.lot_id not in lots_seen">
<t t-esc="lots_seen.append(move_line.lot_id)"/>
<t t-if="move_line.product_id.product_tmpl_id.categ_id.x_relevant_for_certificate == true">
<td>
<span t-field="move_line.product_id"/>
</td>
<td>
<span t-field="move_line.product_id.product_tmpl_id.x_studio_tex_2"/>
</td>
<td>
<span t-field="move_line.product_id.product_tmpl_id.x_studio_rohmaterialtyp"/>
</td>
<td>
<span t-field="move_line.product_id.product_tmpl_id.x_studio_filament"/>
</td>
<td>
<span t-field="move_line.product_id.product_tmpl_id.x_studio_drehung"/>
</td>
<td>
<span t-field="move_line.product_id.product_template_attribute_value_ids.name"/>
</td>
<td>
<span t-field="move_line.lot_id"/>
</td>
</t>
</t>
</tr>
</t>
<tr>
<td colspan="7"/>
</tr>
</table>
<t t-set="qualitycheck_line" t-value="o.move_line_ids[0].lot_id.x_production_ids[0].move_raw_ids[0].move_line_ids[0].lot_id.x_production_ids[0].x_quality_check_ids[0]"/>
<div id="subtitle">
Qualitätsprüfung <span t-field="qualitycheck_line.name"/>
</div>
<table id="quality">
<tr>
<th width="50%"/>
<th width="25%">Sollwert</th>
<th width="25%">Istwert</th>
</tr>
<t t-if="qualitycheck_line.x_studio_kette_1_fdcm > 0">
<tr>
<td>Fadendichte per cm Kette 1:</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_1_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_1_fdcm"/>
</td>
</tr>
</t>
<t t-if="qualitycheck_line.x_studio_kette_2_fdcm > 0">
<tr>
<td>Fadendichte per cm Kette 2:</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_2_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_2_fdcm"/>
</td>
</tr>
</t>
<t t-if="qualitycheck_line.x_studio_kette_3_fdcm > 0">
<tr>
<td>Fadendichte per cm Kette 3:</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_3_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_3_fdcm"/>
</td>
</tr>
</t>
<t t-if="qualitycheck_line.x_studio_kette_4_fdcm > 0">
<tr>
<td>Fadendichte per cm Kette 4:</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_4_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_4_fdcm"/>
</td>
</tr>
</t>
<t t-if="qualitycheck_line.x_studio_schuss_1_fdcm > 0">
<tr>
<td>Fadendichte per cm Schuss 1:</td>
<td>
<span t-field="qualitycheck_line.x_studio_schuss_1_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_schuss_1_fdcm"/>
</td>
</tr>
</t>
<t t-if="qualitycheck_line.x_studio_schuss_2_fdcm > 0">
<tr>
<td>Fadendichte per cm Schuss 2:</td>
<td>
<span t-field="qualitycheck_line.x_studio_schuss_2_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_schuss_2_fdcm"/>
</td>
</tr>
</t>
<tr>
<td>Gewebebreite in mm:</td>
<td>
<span t-field="qualitycheck_line.x_studio_breite_von_mm"/>
<span> - </span>
<span t-field="qualitycheck_line.x_studio_breite_bis_mm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_breite_ist_mm"/>
</td>
</tr>
<tr>
<td>Flächengewicht gr per m2:</td>
<td>
<span t-field="qualitycheck_line.x_studio_gewicht_von_gm2"/>
<span> - </span>
<span t-field="qualitycheck_line.x_studio_gewicht_bis_gm2"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_gewicht_ist_gm2"/>
</td>
</tr>
</table>
<table>
<tr>
<td>
Unterschrift
<br/>
<br/>
</td>
</tr>
<tr>
<td>
Der Hersteller bescheinigt, dass das Glasgewebe den obigen Angaben entspricht.<br/>
Mit freundlichen Grüssen
Tissa Glasweberei AG
</td>
</tr>
</table>
</div>
</t>
</t>
</t>
</t>
Report Certificatecofc Simplified¶
Tissa¶
ID: mint_system.stock.report_certificatecofc_simplified.tissa
Inherit ID: stock.report_certificatecofc_simplified
<t t-name="stock.report_certificatecofc.tissa">
<t t-call="web.html_container">
<t t-call="web.external_layout">
<t t-foreach="docs" t-as="o">
<style>
table {
width: 100%;
margin-bottom: 25px;
font-size: 11pt;
font-family: arial;
}
table th {
padding: 0 5px 0 5px;
}
table td {
padding: 0 5px 0 5px;
}
table#title {
background-color: rgb(216,216,216);
}
.table_info {
border: solid 1px;
}
table#workorder {
border: solid 1px;
}
table#quality {
border: solid 1px;
}
table#tracing {
border: solid 1px;
}
h2 {
font-size: 16pt;
font-weight: bold;
margin-top: 10mm;
margin-bottom: 10mm;
text-align: center;
}
div#subtitle {
font-size: 11pt;
font-family: arial;
}
</style>
<t t-set="o" t-value="o.with_context(lang=o.partner_id.lang)"/>
<div class="page">
<h2>
<span>Werkszeugnis nach EN 10 204-3.1 für Glasgewebe</span>
</h2>
<table id="title">
<tr>
<td width="50%">Hersteller:</td>
<td><span t-field="o.company_id.name"/>
, <span t-field="o.company_id.country_id.code"/>
- <span t-field="o.company_id.zip"/>
<span t-field="o.company_id.city"/>
</td>
</tr>
</table>
<table class="table_info">
<tr>
<td width="50%">Hersteller Bezeichnung:</td>
<td width="50%">
<span t-field="o.product_id.categ_id"/>
</td>
</tr>
<tr style="border-bottom: solid 1px">
<td>Artikelnr.</td>
<td width="50%">
<span t-field="o.product_id.name"/>
</td>
</tr>
<tr>
<td>Liefermenge:</td>
<td>
<span t-field="o.move_lines[0].quantity_done"/>
<span t-field="o.move_lines[0].product_uom"/>
</td>
</tr>
<tr>
<td>Lieferdatum:</td>
<td>
<span t-field="o.date_done" t-options="{"widget": "date"}"/>
</td>
</tr>
<tr style="border-bottom: solid 1px">
<td>Lieferschein-/Auftragsnummer:</td>
<td><span t-field="o.name"/>
/
<span t-field="o.origin"/>
<t t-if="o.move_line_ids[0].lot_id.x_production_ids[0].move_raw_ids[0].move_line_ids[0].lot_id.x_production_id">
/ <span t-field="o.move_line_ids[0].lot_id.x_production_ids[0].move_raw_ids[0].move_line_ids[0].lot_id.x_production_id"/>
</t>
</td>
</tr>
<tr>
<td>Kunde / Fax:</td>
<td>
<span t-field="o.partner_id"/>
</td>
</tr>
<tr style="border-bottom: solid 1px">
<td/>
<td>
<span t-field="o.partner_id.mobile"/>
</td>
</tr>
<tr>
<td>Bestellnummer:</td>
<td>
<span t-field="o.x_studio_kundenreferenz"/>
</td>
</tr>
<tr>
<td>Kunden Artikelbezeichnung:</td>
<td>
<span t-field="o.product_id.x_studio_kundenartikelnr"/>
</td>
</tr>
<tr>
<td/>
<td>
<span t-field="o.product_id.description_sale"/>
</td>
</tr>
<table class="table_info">
<tr>
<td width="50%">Gewebebindung:</td>
<td width="50%">
<span t-field="o.product_id.x_studio_bindung_1"/>
</td>
</tr>
</table>
</table>
<table id="workorder">
<tr>
<th width="50%">Liefermenge</th>
<th width="50%">Chargennummer</th>
</tr>
<tr>
<t t-set="lines" t-value="o.move_line_ids"/>
<tr t-foreach="lines" t-as="move_line">
<td width="25%">
<span t-field="move_line.qty_done"/>
</td>
<td width="75%">
<span t-field="move_line.lot_id"/>
</td>
</tr>
</tr>
</table>
<t t-set="products" t-value="list(set([line.product_id for line in o.move_line_ids.lot_id.x_production_ids.move_raw_ids.move_line_ids.lot_id.x_production_ids.traceability_line_ids]))"/>
<table id="tracing">
<tr>
<th width="45%">Ressource</th>
<th width="10%">Tex</th>
<th width="10%">Rohmat.</th>
<th width="10%">Filament</th>
<th width="10%">Drehung</th>
<th width="15%">Schlichte</th>
</tr>
<t t-foreach="products" t-as="product_line">
<t t-if="product_line.product_tmpl_id.categ_id.x_relevant_for_certificate == true">
<tr>
<td>
<span t-field="product_line.name"/>
</td>
<td>
<span t-field="product_line.x_studio_tex_2"/>
</td>
<td>
<span t-field="product_line.x_studio_rohmaterialtyp"/>
</td>
<td>
<span t-field="product_line.x_studio_filament"/>
</td>
<td>
<span t-field="product_line.x_studio_drehung"/>
</td>
<td>
<span t-field="product_line.product_template_attribute_value_ids.name"/>
</td>
</tr>
</t>
</t>
<tr>
<td colspan="6"/>
</tr>
</table>
<t t-set="qualitycheck_line" t-value="o.move_line_ids[0].lot_id.x_production_ids[0].move_raw_ids.move_line_ids[0].lot_id.x_production_ids[0].x_quality_check_ids[0]"/>
<div id="subtitle">
Qualitätsprüfung <span t-field="qualitycheck_line.name"/>
</div>
<table id="quality">
<tr>
<th width="50%"/>
<th width="25%">Sollwert</th>
<th width="25%">Istwert</th>
</tr>
<t t-if="qualitycheck_line.x_studio_kette_1_fdcm > 0">
<tr>
<td>Fadendichte per cm Kette 1:</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_1_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_1_fdcm"/>
</td>
</tr>
</t>
<t t-if="qualitycheck_line.x_studio_kette_2_fdcm > 0">
<tr>
<td>Fadendichte per cm Kette 2:</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_2_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_2_fdcm"/>
</td>
</tr>
</t>
<t t-if="qualitycheck_line.x_studio_kette_3_fdcm > 0">
<tr>
<td>Fadendichte per cm Kette 3:</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_3_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_3_fdcm"/>
</td>
</tr>
</t>
<t t-if="qualitycheck_line.x_studio_kette_4_fdcm > 0">
<tr>
<td>Fadendichte per cm Kette 4:</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_4_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_kette_4_fdcm"/>
</td>
</tr>
</t>
<t t-if="qualitycheck_line.x_studio_schuss_1_fdcm > 0">
<tr>
<td>Fadendichte per cm Schuss 1:</td>
<td>
<span t-field="qualitycheck_line.x_studio_schuss_1_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_schuss_1_fdcm"/>
</td>
</tr>
</t>
<t t-if="qualitycheck_line.x_studio_schuss_2_fdcm > 0">
<tr>
<td>Fadendichte per cm Schuss 2:</td>
<td>
<span t-field="qualitycheck_line.x_studio_schuss_2_fdcm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_schuss_2_fdcm"/>
</td>
</tr>
</t>
<tr>
<td>Gewebebreite in mm:</td>
<td>
<span t-field="qualitycheck_line.x_studio_breite_von_mm"/>
<span> - </span>
<span t-field="qualitycheck_line.x_studio_breite_bis_mm"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_breite_ist_mm"/>
</td>
</tr>
<tr>
<td>Flächengewicht gr per m2:</td>
<td>
<span t-field="qualitycheck_line.x_studio_gewicht_von_gm2"/>
<span> - </span>
<span t-field="qualitycheck_line.x_studio_gewicht_bis_gm2"/>
</td>
<td>
<span t-field="qualitycheck_line.x_studio_gewicht_ist_gm2"/>
</td>
</tr>
</table>
<table>
<tr>
<td>
Unterschrift
<br/>
<br/>
</td>
</tr>
<tr>
<td>
Der Hersteller bescheinigt, dass das Glasgewebe den obigen Angaben entspricht.<br/>
Mit freundlichen Grüssen
Tissa Glasweberei AG
</td>
</tr>
</table>
</div>
</t>
</t>
</t>
</t>
Report Delivery Document¶
Add Address¶
ID: mint_system.stock.report_delivery_document.add_address
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//t[@t-set='address']" position="after">
<table name="logistic" style="margin-left: 0px; margin-top: 30px; border: transparent">
<style>
.company_invoice_line {
margin-top: 1mm;
margin-bottom: 2mm;
}
</style>
<tr style="height: 80px;">
<td style="width: 290px; vertical-align: top; padding-left: 5mm;">
<span style="font-size: 7pt">Recipient of goods</span>
<hr class="company_invoice_line"/>
<div>
<t>
<div t-field="o.partner_id" t-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": True}"/>
</t>
</div>
</td>
<td style="width: 70px"/>
<td style="width: 260px; vertical-align: top">
<span style="font-size: 7pt">Shipper of goods</span>
<hr class="company_invoice_line"/>
<div>
<t>
<div t-field="o.location_id.warehouse_id.partner_id" t-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": True}"/>
</t>
</div>
</td>
</tr>
</table>
<table name="detailed_information" style="margin-left: 0px; margin-top: 20px; margin-bottom: 50px; border: transparent; line-height: 1.3">
<tr>
<td style="width: 120px; vertical-align: top; padding-left: 5mm;">
<t t-if="o.partner_id.vat">
<div>USt-IdNr.</div>
</t>
<t t-if="o.partner_id.x_vat">
<div>MWST Nr.</div>
</t>
<t t-if="o.partner_id.x_eori">
<div>EORI Nr.</div>
</t>
<t t-if="o.partner_id.x_zaz">
<div>ZAZ Konto Nr.</div>
</t>
</td>
<td style="width: 180px; vertical-align: top">
<t t-if="o.partner_id.vat">
<div t-field="o.partner_id.vat"/>
</t>
<t t-if="o.partner_id.x_vat">
<div t-field="o.partner_id.x_vat"/>
</t>
<t t-if="o.partner_id.x_eori">
<div t-field="o.partner_id.x_eori"/>
</t>
<t t-if="o.partner_id.x_zaz">
<div t-field="o.partner_id.x_zaz"/>
</t>
</td>
<td style="width: 60px"/>
<td style="width: 100px; vertical-align: top">
<t t-if="o.location_id.warehouse_id.partner_id.vat">
<div>USt-IdNr.</div>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_vat">
<div>MWST Nr.</div>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_eori">
<div>EORI Nr.</div>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_zaz">
<div>ZAZ Konto Nr.</div>
</t>
</td>
<td style="width: 180px; vertical-align: top">
<t t-if="o.location_id.warehouse_id.partner_id.vat">
<div t-field="o.location_id.warehouse_id.partner_id.vat"/>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_vat">
<div t-field="o.location_id.warehouse_id.partner_id.x_vat"/>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_eori">
<div t-field="o.location_id.warehouse_id.partner_id.x_eori"/>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_zaz">
<div t-field="o.location_id.warehouse_id.partner_id.x_zaz"/>
</t>
</td>
</tr>
<t t-if="valued">
<tr>
<td style="width: 280px; padding-top: 20px; vertical-align: top; padding-left: 5mm;" colspan="2">
<t t-if="o.partner_id.x_remarks">
<div t-field="o.partner_id.x_remarks"/>
</t>
</td>
<td style="width: 60px"/>
<td style="width: 280px; padding-top: 20px; vertical-align: top; padding-left: 0;" colspan="2">
<t t-if="o.location_id.warehouse_id.partner_id.x_remarks">
<div t-field="o.location_id.warehouse_id.partner_id.x_remarks"/>
</t>
</td>
</tr>
</t>
<t t-if="not valued">
</t>
<t t-if="is_pro_forma">
<tr>
<td style="width: 280px; padding-top: 20px; vertical-align: top; padding-left: 5mm;" colspan="2">
<t t-if="o.partner_id.x_remarks">
<div t-field="o.partner_id.x_remarks"/>
</t>
</td>
<td style="width: 60px"/>
<td style="width: 280px; padding-top: 20px; vertical-align: top; padding-left: 0;" colspan="2">
<t t-if="o.location_id.warehouse_id.partner_id.x_remarks">
<div t-field="o.location_id.warehouse_id.partner_id.x_remarks"/>
</t>
</td>
</tr>
</t>
</table>
</xpath>
<xpath expr="//div[@name='div_origin']/.." position="replace"/>
</data>
Add Address Space¶
ID: mint_system.stock.report_delivery_document.add_address_space
Inherit ID: stock.report_delivery_document
<data priority="50">
<t t-set="address" position="before">
<style>
div.address {
padding-top: 3rem
}
</style>
</t>
</data>
Add Date¶
ID: mint_system.stock.report_delivery_document.add_date
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//th[@name='th_sm_product']" position="after">
<th>
<strong>Lieferdatum</strong>
</th>
</xpath>
<xpath expr="//span[@t-field='move.product_id']" position="after">
<td>
<span t-field="move.date" t-options="{"widget": "date"}"/>
</td>
</xpath>
</data>
Add Drawing File¶
ID: mint_system.stock.report_delivery_document.add_drawing_file
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_table']/tbody/tr/td[1]/span" position="after">
<t t-if="move.product_id.drawing_file">
<br/>
<span>Drawing: </span>
<a t-attf-href="{{move.product_id.drawing_file.url}}">
<span t-field="move.product_id.drawing_file.display_name"/>
</a>
</t>
</xpath>
</data>
Add Header And Footer Note¶
ID: mint_system.stock.report_delivery_document.add_header_and_footer_note
Inherit ID: stock.report_delivery_document
<data priority="51">
<xpath expr="//table[@id='infotable']" position="after">
<t t-if="o.note_header != '<p><br></p>'">
<span class="note" t-field="o.note_header"/>
</t>
</xpath>
<xpath expr="//table[@name='stock_move_line_table']" position="after">
<t t-if="o.note_footer != '<p><br></p>'">
<span class="note" t-field="o.note_footer"/>
</t>
</xpath>
</data>
Add Header Space¶
ID: mint_system.stock.report_delivery_document.add_header_space
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//h2" position="attributes">
<attribute name="style">padding-top: 5rem</attribute>
</xpath>
</data>
Add Hs Code¶
ID: mint_system.stock.report_delivery_document.add_hs_code
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//t[@t-set='address']" position="after">
<table name="logistic" style="margin-left: 0px; margin-top: 30px; border: transparent">
<style>
.company_invoice_line {
margin-top: 1mm;
margin-bottom: 2mm;
}
</style>
<tr style="height: 80px;">
<td style="width: 290px; vertical-align: top; padding-left: 5mm;">
<span style="font-size: 7pt">Warenempfänger</span>
<hr class="company_invoice_line"/>
<div>
<t>
<div t-field="o.partner_id" t-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": True}"/>
</t>
</div>
</td>
<td style="width: 70px"/>
<td style="width: 260px; vertical-align: top">
<span style="font-size: 7pt">Warenversender</span>
<hr class="company_invoice_line"/>
<div>
<t>
<div t-field="o.location_id.warehouse_id.partner_id" t-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": True}"/>
</t>
</div>
</td>
</tr>
</table>
<table name="detailed_information" style="margin-left: 0px; margin-top: 20px; margin-bottom: 50px; border: transparent; line-height: 1.3">
<tr>
<td style="width: 120px; vertical-align: top; padding-left: 5mm;">
<t t-if="o.partner_id.vat">
<div>USt-IdNr.</div>
</t>
<t t-if="o.partner_id.x_vat">
<div>MWST Nr.</div>
</t>
<t t-if="o.partner_id.x_eori">
<div>EORI Nr.</div>
</t>
<t t-if="o.partner_id.x_zaz">
<div>ZAZ Konto Nr.</div>
</t>
</td>
<td style="width: 180px; vertical-align: top">
<t t-if="o.partner_id.vat">
<div t-field="o.partner_id.vat"/>
</t>
<t t-if="o.partner_id.x_vat">
<div t-field="o.partner_id.x_vat"/>
</t>
<t t-if="o.partner_id.x_eori">
<div t-field="o.partner_id.x_eori"/>
</t>
<t t-if="o.partner_id.x_zaz">
<div t-field="o.partner_id.x_zaz"/>
</t>
</td>
<td style="width: 60px"/>
<td style="width: 100px; vertical-align: top">
<t t-if="o.location_id.warehouse_id.partner_id.vat">
<div>USt-IdNr.</div>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_vat">
<div>MWST Nr.</div>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_eori">
<div>EORI Nr.</div>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_zaz">
<div>ZAZ Konto Nr.</div>
</t>
</td>
<td style="width: 180px; vertical-align: top">
<t t-if="o.location_id.warehouse_id.partner_id.vat">
<div t-field="o.location_id.warehouse_id.partner_id.vat"/>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_vat">
<div t-field="o.location_id.warehouse_id.partner_id.x_vat"/>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_eori">
<div t-field="o.location_id.warehouse_id.partner_id.x_eori"/>
</t>
<t t-if="o.location_id.warehouse_id.partner_id.x_zaz">
<div t-field="o.location_id.warehouse_id.partner_id.x_zaz"/>
</t>
</td>
</tr>
<t t-if="is_pro_forma">
<tr>
<td style="width: 280px; padding-top: 20px; vertical-align: top; padding-left: 5mm;" colspan="2">
<t t-if="o.partner_id.x_remarks">
<div t-field="o.partner_id.x_remarks"/>
</t>
</td>
<td style="width: 60px"/>
<td style="width: 280px; padding-top: 20px; vertical-align: top; padding-left: 0;" colspan="2">
<t t-if="o.location_id.warehouse_id.partner_id.x_remarks">
<div t-field="o.location_id.warehouse_id.partner_id.x_remarks"/>
</t>
</td>
</tr>
</t>
</table>
</xpath>
<xpath expr="//div[@name='div_origin']/.." position="replace"/>
</data>
Add Incoterm¶
ID: mint_system.stock.report_delivery_document.add_incoterm
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_line_table']" position="after">
<div class="row" style="page-break-inside: avoid;">
<div class="col">
<span t-if="o.sale_id.incoterm">
Incoterms: <strong t-field="o.sale_id.incoterm"/>
</span>
</div>
</div>
</xpath>
</data>
Add Incoterms¶
ID: mint_system.stock.report_delivery_document.add_incoterms
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[1]/div[1]/div[2]" position="after">
<div class="col-auto" name="div_incoterms">
<strong>Incoterms:</strong>
<t>
<p t-field="res_company.incoterm_id.code"/>
</t>
</div>
</xpath>
</data>
Add Infotable¶
ID: mint_system.stock.report_delivery_document.add_infotable
Inherit ID: stock.report_delivery_document
<data inherit_id="stock.report_delivery_document" priority="50">
<xpath expr="//h2" position="after">
<style>
table#infotable {
width: 100%;
margin-bottom: 25px;
font-size: 9pt;
font-family: arial;
border-color: white;
}
table#infotable tr {
line-height: 1.2;
text-align: left;
}
table#infotable span {
line-height: 1.2;
}
.note {
font-size: 9pt;
}
</style>
<table id="infotable" class="info_table" style="width:100%; margin-bottom:25px; padding-left:0px; font-size:9pt; font-family:arial; color:black;">
<tr>
<td style="width:25mm;">Date</td>
<td style="width:85mm;">
<span t-field="o.date_done" t-options="{ "widget": "date" }"/>
</td>
<td style="width:25mm;">Order No.</td>
<td style="width:45mm;">
<span t-field="o.origin"/>
</td>
</tr>
<tr>
<td>Customer No.</td>
<td>
<span t-field="o.sale_id.partner_id.ref"/>
</td>
<td>Our Reference</td>
<td>
<span t-field="o.user_id"/>
</td>
</tr>
<tr>
<td>Order</td>
<td>
<span t-field="o.sale_id.client_order_ref"/>
</td>
<td>Delivery Method</td>
<td>
<span t-field="o.carrier_id"/>
</td>
</tr>
<tr>
<td>Reference</td>
<td>
<span t-field="o.sale_id.comment"/>
</td>
<td>Incoterm</td>
<td>
<span t-field="o.sale_id.incoterm.name"/>
</td>
</tr>
</table>
</xpath>
</data>
Add Note¶
ID: mint_system.stock.report_delivery_document.add_note
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='signature']" position="before">
<div style="margin-top: 50px">
<div>
<t t-if="not is_html_empty(o.note)" name="note">
<span t-field="o.note"/>
</t>
<t t-elif="o.partner_id.parent_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.parent_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.parent_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>
<span t-escape="o.partner_id.parent_id"/>
</xpath>
</data>
Add Open Quantity In Backorder¶
ID: mint_system.stock.report_delivery_document.add_open_quantity_in_backorder
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_backorder_table']/thead/tr/th[2]" position="after">
<th>
<strong>Open Quantity</strong>
</th>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']/tbody//td[3]" position="after">
<th>
</th>
</xpath>
</data>
Add Summary¶
ID: mint_system.stock.report_delivery_document.add_summary
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//table[@name='stock_move_line_table']" position="after">
<div style="margin-top: 30px">
<t t-set="lines" t-value="o.move_ids.move_line_ids"/>
<t t-set="product_weight" t-value="0.0"/>
<t t-set="net_weight" t-value="0.0"/>
<tr t-foreach="lines" t-as="move">
<t t-set="product_weight" t-value="move.product_id.weight * move.quantity"/>
<t t-set="net_weight" t-value="net_weight + product_weight"/>
</tr>
<t t-set="lines" t-value="o.package_ids"/>
<t t-set="count_packages" t-value="0"/>
<t t-set="total_weight" t-value="0.0"/>
<t t-set="has_shipping_weight" t-value="False"/>
<tr t-foreach="lines" t-as="package">
<t t-set="count_packages" t-value="count_packages + 1"/>
<t t-set="total_weight" t-value="total_weight + package.weight"/>
<t t-if="package.shipping_weight">
<t t-set="has_shipping_weight" t-value="True"/>
</t>
</tr>
<t t-if="not valued">
<table style="margin-left: auto; margin-right: 0; border: transparent;">
<t t-if="count_packages">
<tr>
<td style="width: 170px;">
<strong>Number of transport units:</strong>
</td>
<td style="text-align: right; width: 80px; padding-left: 5px">
<strong t-esc="count_packages"/>
</td>
</tr>
</t>
<t t-if="not has_shipping_weight">
<tr>
<td>
<strong>Total net weight:</strong>
</td>
<td style="text-align: right; padding-left: 5px">
<strong t-esc="net_weight" t-options="{'widget': 'integer'}"/>
<strong> kg</strong>
</td>
</tr>
<t t-if="total_weight">
<tr>
<td>
<strong>Total gross weight:</strong>
</td>
<td style="text-align: right; padding-left: 5px">
<t>
<strong t-esc="total_weight" t-options="{'widget': 'integer'}"/>
<strong> kg</strong>
</t>
</td>
</tr>
</t>
</t>
</table>
</t>
</div>
</xpath>
</data>
Add Table Margin¶
ID: mint_system.stock.report_delivery_document.add_table_margin
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div/table[1]" position="attributes">
<attribute name="style" separator=";" add="margin-top: 1rem"/>
</xpath>
<xpath expr="//div/table[2]" position="attributes">
<attribute name="style" separator=";" add="margin-top: 1rem"/>
</xpath>
</data>
Add Title¶
ID: mint_system.stock.report_delivery_document.add_title
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//span[@t-field='o.name']" position="before">
<t t-if="o.picking_type_id.id == 2">
<span>Delivery slip </span>
</t>
</xpath>
</data>
Add Weight¶
ID: mint_system.stock.report_delivery_document.add_weight
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//th[@name='th_sm_quantity']" position="before">
<th>
<span>Weight</span>
</th>
</xpath>
<xpath expr="//span[@t-field='move.quantity_done']/.." position="before">
<td>
<span t-field="move.product_id.weight"/>
<span t-field="move.product_id.weight_uom_name"/>
</td>
</xpath>
</data>
Append Signature Text¶
ID: mint_system.stock.report_delivery_document.append_signature_text
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_line_table']" position="after">
<style>
div#signature {
padding-left: 75px;
padding-right: 75px;
margin-top: 3rem;
}
</style>
<div id="signature">
<p
>Hiermit bestätigen wir den Erhalt der Ware gemäss Lieferung.</p>
<br />
<br />
<div class="row">
<div class="col-5">
<p>Ort/Datum: __________________________________</p>
</div>
<div class="col-7">
<p
>Unterschrift Kunde: _____________________________________________________________</p>
</div>
</div>
</div>
</xpath>
</data>
Append Transport Text¶
ID: mint_system.stock.report_delivery_document.append_transport_text
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_line_table']" position="after">
<div class="row" style="margin-top: 3rem;">
<div class="col-5">
<p>Gebinde geliefert: _____</p>
<p>Gebinde zurück: _____</p>
<br />
<p>Unterschrift Transport: _______________</p>
</div>
<div class="col-2" />
<div class="col-5">
<p>Produkte einwandfrei erhalten.</p>
<br />
<p>Unterschrift Kunde: _______________</p>
</div>
</div>
</xpath>
</data>
Backorder Signature Section¶
ID: mint_system.stock.report_delivery_document.backorder_signature_section
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_line_table']" position="after">
<p>Retouren:<br/><br/>
KEG: ___________ Anzahl<br/><br/>
Harassen: ___________ Anzahl<br/><br/>
Waren erhalten: Datum: ______________________ Unterschrift: _________________________________
</p>
</xpath>
</data>
Barcode Customer Reference¶
ID: mint_system.stock.report_delivery_document.barcode_customer_reference
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//h2" position="before">
<span t-field="o.sale_id.client_order_ref" t-options="{"widget": "barcode", "width": 350, "height": 50}"/>
</xpath>
</data>
Disable Stock Move Line Table¶
ID: mint_system.stock.report_delivery_document.disable_stock_move_line_table
Inherit ID: stock.report_delivery_document
<data priority="50">
<table name="stock_move_table" position="attributes">
<attribute name="t-if" />
</table>
<table name="stock_move_line_table" position="attributes">
<attribute name="t-elif" />
<attribute name="t-if">False</attribute>
</table>
</data>
Filter Qty Done¶
ID: mint_system.stock.report_delivery_document.filter_qty_done
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_table']/tbody/t" position="after">
<t
t-set="lines"
t-value="lines.filtered(lambda l: l.quantity > 0)"
/>
</xpath>
<xpath expr="//t[@name='no_package_move_lines']" position="before">
<t
t-set="move_lines"
t-value="move_lines.filtered(lambda l: l.qty_done > 0)"
/>
</xpath>
<xpath expr="//t[@t-set='package_move_lines']" position="after">
<t
t-set="package_move_lines"
t-value="package_move_lines.filtered(lambda l: l.qty_done > 0)"
/>
</xpath>
</data>
Format Address¶
ID: mint_system.stock.report_delivery_document.format_address
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@t-field='partner.commercial_partner_id']" position="replace">
<div t-field="partner.commercial_partner_id" t-options="{"widget": "contact", "fields": ["address", "name",], "no_marker": True, "phone_icons": True}"/>
</xpath>
</data>
Format Address Blocks¶
ID: mint_system.stock.report_delivery_document.format_address_blocks
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//t[@t-set='address']/div/div/span" position="attributes">
<attribute name="style">font-size:10pt; line-height: 1.2</attribute>
</xpath>
<xpath expr="//t[@t-set='address']/div/div/div" position="attributes">
<attribute name="style">font-size:10pt; padding-bottom:33mm</attribute>
<attribute name="t-options">{"widget": "contact", "fields": ["address", "name"], "no_marker": True, "phone_icons": False}</attribute>
</xpath>
</data>
<!--
<data priority="50">
<xpath expr="//div[@name='div_outgoing_address']" position="attributes">
<attribute name="t-options-fields">['address', 'name']</attribute>
</xpath>
<xpath expr="//div[@t-field='partner.commercial_partner_id']" position="attributes">
<attribute name="t-options-fields">['address', 'name']</attribute>
</xpath>
</data>
-->
Format Backorder Table Head¶
ID: mint_system.stock.report_delivery_document.format_backorder_table_head
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_backorder_table']" position="before">
<style>
table[name="stock_backorder_table"] thead th {
text-align: left;
color: #5c516e;
}
</style>
</xpath>
</data>
Format Date Short¶
ID: mint_system.stock.report_delivery_document.format_date_short
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//p[@t-field='o.date_done']" position="attributes">
<attribute name="t-options-widget">"date"</attribute>
</xpath>
<xpath expr="//p[@t-field='o.scheduled_date']" position="attributes">
<attribute name="t-options-widget">"date"</attribute>
</xpath>
<xpath expr="//div[1]/div[1]/div[2]/t[1]/p[1]" position="attributes">
<attribute name="t-options-widget">"date"</attribute>
</xpath>
<xpath expr="//div[1]/div[1]/div[2]/t[2]/p[1]" position="attributes">
<attribute name="t-options-widget">"date"</attribute>
</xpath>
</data>
Format Main Table¶
ID: mint_system.stock.report_delivery_document.format_main_table
Inherit ID: stock.report_delivery_document
<!-- Change style of first column -->
<data priority="50">
<xpath expr="//table" position="attributes">
<attribute name="class" add="mint-system" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('page')]" position="inside">
<style>
table.mint-system tbody tr td:first-of-type {
text-align: right;
width: 5mm;
}
</style>
</xpath>
</data>
Format Pos¶
ID: mint_system.stock.report_delivery_document.format_pos
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_backorder_table']/tbody//td" position="attributes">
<attribute name="style">text-align: right; width: 5mm</attribute>
</xpath>
</data>
Format Qty¶
ID: mint_system.stock.report_delivery_document.format_qty
Inherit ID: stock.report_delivery_document
<data priority="60">
<span t-field="move.product_uom_qty" position="attributes">
<attribute name="t-options-widget">"integer"</attribute>
</span>
<span t-field="move.quantity_done" position="attributes">
<attribute name="t-options-widget">"integer"</attribute>
</span>
</data>
Format Table Border¶
ID: mint_system.stock.report_delivery_document.format_table_border
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_table']" position="before">
<style>
.table > :not(:first-child) {
border-top: none;
}
thead tr.border-solid-black {
border-top: 1px solid black !important;
color: #5c516e;
}
table thead tr.border-solid-black {
border-top: 1px solid black !important;
border-bottom: 1px solid #dee2e6 !important;
color: #5c516e;
}
tbody tr.border-solid-black:last-child {
border-bottom: 1px solid black !important;
}
</style>
</xpath>
<xpath
expr="//table[@name='stock_move_table']/thead/tr"
position="attributes"
>
<attribute name="class" separator=" " add="border-solid-black" />
</xpath>
<xpath
expr="(//table[@name='stock_move_table']//tr)[last()]"
position="attributes"
>
<attribute name="class" separator=" " add="border-solid-black" />
</xpath>
</data>
Format Table Head¶
ID: mint_system.stock.report_delivery_document.format_table_head
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_table']" position="before">
<style>
table[name="stock_move_table"] thead th {
text-align: left;
}
</style>
</xpath>
</data>
Format Title¶
ID: mint_system.stock.report_delivery_document.format_title
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//h2" position="replace">
<h2>
<span t-esc="'Lieferschein ' + o.name.replace('WH/OUT/', '')"/>
</h2>
</xpath>
</data>
Format Title Trimada¶
ID: mint_system.stock.report_delivery_document.format_title_trimada
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//h2" position="attributes">
<attribute name="style">color: black; font-size:13pt; font-weight:bold; margin-top:10mm; margin-bottom:3mm</attribute>
</xpath>
</data>
Get Position¶
ID: mint_system.stock.report_delivery_document.get_position
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//table[@name='stock_move_line_table']/thead/tr/th[1]" position="before">
<th id="position" class="text-start">
<strong>Pos.</strong>
</th>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']/thead/tr/th[1]" position="before">
<th id="position" class="text-start">
<strong>Pos.</strong>
</th>
</xpath>
</data>
Header Margin¶
ID: mint_system.stock.report_delivery_document.header_margin
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div/table[1]" position="attributes">
<attribute name="style" separator=";" add="margin-top: 1rem"/>
</xpath>
<xpath expr="//div/table[2]" position="attributes">
<attribute name="style" separator=";" add="margin-top: 1rem"/>
</xpath>
</data>
Header Packing¶
ID: mint_system.stock.report_delivery_document.header_packing
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//table[@name='stock_move_table']/thead/tr/th[6]" position="after">
<th id="position" class="text-end">
<strong>Packing</strong>
<th id="position" class="text-end">
<strong>VE</strong>
</th>
</th>
</xpath>
<xpath expr="//table[@name='stock_move_line_table']/thead/tr/th[6]" position="after">
<th id="position" class="text-end">
<strong>Packing</strong>
</th>
<th id="position" class="text-end">
<strong>VE</strong>
</th>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']/thead/tr/th[6]" position="after">
<th id="position" class="text-end">
<strong>Packing</strong>
</th>
<th id="position" class="text-end">
<strong>VE</strong>
</th>
</xpath>
</data>
Header Picking¶
ID: mint_system.stock.report_delivery_document.header_picking
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//table[@name='stock_move_table']/thead/tr/th[6]" position="after">
<th id="th_packing" class="text-end">
<strong>Packing</strong>
</th>
<th id="th_ve" class="text-end">
<strong>VE</strong>
</th>
</xpath>
<xpath expr="//table[@name='stock_move_line_table']/thead/tr/th[6]" position="after">
<th id="th_line_packing" class="text-end">
<strong>Packing</strong>
</th>
<th id="th_line_ve" class="text-end">
<strong>VE</strong>
</th>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']/thead/tr/th[6]" position="after">
<th id="th_packing" class="text-end">
<strong>Packing</strong>
</th>
<th id="th_ve" class="text-end">
<strong>VE</strong>
</th>
</xpath>
</data>
Hide Address¶
ID: mint_system.stock.report_delivery_document.hide_address
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='customer_address']" position="replace"/>
<xpath expr="//div[@name='partner_header']" position="replace"/>
</data>
Hide Backorder Quantity¶
ID: mint_system.stock.report_delivery_document.hide_backorder_quantity
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_backorder_table']/thead//th[4]" position="replace">
<th/>
</xpath>
</data>
Hide Backorders¶
ID: mint_system.stock.report_delivery_document.hide_backorders
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_backorder_table']/.." position="replace"/>
</data>
Hide Carrier Code¶
ID: mint_system.stock.report_delivery_document.hide_carrier_code
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[t[@t-if='o.carrier_tracking_ref']]" position="replace"/>
</data>
Hide If Not In State Done¶
ID: mint_system.stock.report_delivery_document.hide_if_not_in_state_done
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@class='page']" position="attributes">
<attribute name="t-if">o.state == 'done'</attribute>
</xpath>
<xpath expr="//div[@class='page']" position="after">
<t t-if="o.state != 'done'">
<span style="color: red; font-size: 20px">Dieser Lieferschein ist noch nicht im Status "ERLEDIGT"</span>
</t>
</xpath>
</data>
Hide Incoming Address¶
ID: mint_system.stock.report_delivery_document.hide_incoming_address
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='div_incoming_address']/.." position="replace"/>
</data>
Hide Information Block¶
ID: mint_system.stock.report_delivery_document.hide_information_block
Inherit ID: stock.report_delivery_document
Hide Informations¶
ID: mint_system.stock.report_delivery_document.hide_informations
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='div_sched_date']" position="after">
<div t-if="o.carrier_id" class="col col-3 mw-100 mb-2">
<strong>Carrier</strong>
<div t-field="o.carrier_id" class="m-0"/>
</div>
</xpath>
</data>
Hide Name¶
ID: mint_system.stock.report_delivery_document.hide_name
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//span[@t-field='o.name']/.." position="replace">
</xpath>
</data>
Hide Operator¶
ID: mint_system.stock.report_delivery_document.hide_operator
Inherit ID: stock.report_delivery_document
Hide Ordered¶
ID: mint_system.stock.report_delivery_document.hide_ordered
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//th[@name='th_sm_ordered']" position="replace"/>
<xpath expr="//table[@name='stock_move_table']/tbody/tr/td[4]" position="replace"/>
</data>
Hide Package Section¶
ID: mint_system.stock.report_delivery_document.hide_package_section
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//t[@t-call='stock.stock_report_delivery_package_section_line']" position="replace">
<t t-if="valued">
</t>
<t t-if="not valued">
<t t-call="stock.stock_report_delivery_package_section_line"/>
</t>
</xpath>
</data>
Hide Phone Vat¶
ID: mint_system.stock.report_delivery_document.hide_phone_vat
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='partner_header']" position="replace">
<div t-if="show_partner" name="partner_header">
<div t-field="partner.commercial_partner_id" t-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": True, "phone_icons": False}"/>
</div>
</xpath>
<xpath expr="//div[@t-field='o.picking_type_id.warehouse_id.partner_id']" position="attributes">
<attribute name="t-options">{"widget": "contact", "fields": ["address", "name"], "no_marker": True, "phone_icons": False}</attribute>
</xpath>
</data>
Hide Product Uom Qty¶
ID: mint_system.stock.report_delivery_document.hide_product_uom_qty
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//span[@t-field='move.product_uom_qty']/..." position="replace">
</xpath>
</data>
Hs Code¶
ID: mint_system.stock.report_delivery_document.hs_code
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div/table[1]/tbody/tr/td[1]/span" position="after">
<t t-if="move.product_id.hs_code">
<br/>
<span>HS Code: </span>
<span t-field="move.product_id.hs_code"/>
</t>
<t t-if="move.product_id.country_of_origin_id.code">
<br/>
<span>Country of Origin: </span>
<span t-field="move.product_id.country_of_origin_id.code"/>
</t>
<t t-if="move.product_id.weight">
<br/>
<span>Weight: </span>
<span t-field="move.product_id.weight"/>
<span t-field="move.product_id.weight_uom_id.display_name"/>
</t>
</xpath>
</data>
Hs Code And Origin¶
ID: mint_system.stock.report_delivery_document.hs_code_and_origin
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_line_table']/thead/tr/th[2]" position="after">
<th class="text-start">
<strong>HS-Code</strong>
</th>
<th class="text-start">
<strong>Origin</strong>
</th>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']/thead/tr/th[2]" position="before">
<th class="text-start">
<strong>HS-Code</strong>
</th>
<th class="text-start">
<strong>Origin</strong>
</th>
</xpath>
</data>
Hs Code Origin And Weight¶
ID: mint_system.stock.report_delivery_document.hs_code_origin_and_weight
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div/table[1]/tbody/tr/td[1]/span" position="after">
<t t-if="move.product_id.hs_code">
<br/>
<span>HS Code: </span>
<span t-field="move.product_id.hs_code"/>
</t>
<t t-if="move.product_id.country_of_origin.code">
<br/>
<span>Country of Origin: </span>
<span t-field="move.product_id.country_of_origin.code"/>
</t>
<t t-if="move.product_id.weight">
<br/>
<span>Weight: </span>
<span t-field="move.product_id.weight"/>
<span t-field="move.product_id.weight_uom_id.display_name"/>
</t>
</xpath>
</data>
Margin After Title¶
ID: mint_system.stock.report_delivery_document.margin_after_title
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//h2" position="attributes">
<attribute name="style" separator=";" add="margin-bottom: 1rem"/>
</xpath>
</data>
Margin Before Title¶
ID: mint_system.stock.report_delivery_document.margin_before_title
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//h2" position="attributes">
<attribute name="style" separator=";" add="margin-top: 1rem"/>
</xpath>
</data>
Modify Main Table¶
ID: mint_system.stock.report_delivery_document.modify_main_table
Inherit ID: stock.report_delivery_document
<data priority="50">
<!-- header -->
<!--<xpath expr="//table[@name='stock_move_table']/thead" position="attributes">-->
<!-- <attribute name="style">color: black; border-top-style:solid; border-bottom-style:solid; border-width:1px; border-color:black</attribute>-->
<!--</xpath>-->
<!--<xpath expr="//table[@name='stock_move_line_table']/thead" position="attributes">-->
<!-- <attribute name="style">color: black; border-top-style:solid; border-bottom-style:solid; border-width:1px; border-color:black</attribute>-->
<!--</xpath>-->
<!-- <xpath expr="//table[@name='stock_backorder_table']/thead" position="attributes">-->
<!-- <attribute name="style">color: black; border-top-style:solid; border-bottom-style:solid; border-width:1px; border-color:black</attribute>-->
<!--</xpath>-->
<!-- pos -->
<!--<xpath expr="//thead/tr/th[1]" position="attributes">-->
<!-- <attribute name="style">text-align: right; width: 5mm</attribute>-->
<!--</xpath>-->
<!-- quantity -->
<xpath expr="//table[@name='stock_move_table']/thead/tr/th[2]" position="attributes">
<attribute name="class">text-right</attribute>
</xpath>
<!--<xpath expr="//table[@name='stock_move_line_table']/thead/tr/th[2]" position="attributes">-->
<!-- <attribute name="class">text-right</attribute>-->
<!--</xpath>-->
<xpath expr="//table[@name='stock_backorder_table']/thead/tr/th[2]" position="attributes">
<attribute name="class">text-right</attribute>
<attribute name="style">width:20mm</attribute>
</xpath>
<xpath t-if="o.state!='done'" expr="//table[@name='stock_move_table']/tbody/tr/td[1]" position="replace">
<td style="text-align: right; padding-right: 10px">
<span t-field="move.product_id.default_code"/>
</td>
</xpath>
<xpath t-if="o.state!='done'" expr="//table[@name='stock_move_table']/tbody/tr/td[2]" position="after">
<td style="text-align: right; ">
<span style="text-align: right; font-weight: bold" t-field="move.product_uom_qty"/>
<span t-field="move.product_uom"/>
</td>
</xpath>
<xpath expr="//t[@t-if='o.backorder_ids and backorders']/p" position="replace">
<div style="margin-top: 20mm; margin-bottom: 5mm; font-size: 9pt; padding-top: 15px; padding-bottom: 5px">
<span>All items couldn't be shipped, the following items will be shipped as soon as they become available.</span>
</div>
</xpath>
<!-- add default_code -->
<xpath t-if="o.state!='done'" expr="//table[@name='stock_move_table']/thead/tr[1]/th[1]" position="before">
<th style="text-align: right; width: 27mm; padding-right: 10px">
<strong>Part No.</strong>
</th>
</xpath>
<!--<xpath t-if="o.state=='done'" expr="//table[@name='stock_move_line_table']/thead/tr[1]/th[1]" position="before">-->
<!-- <th style="text-align: right; width: 27mm; padding-right: 10px">-->
<!-- <strong >Part No.</strong>-->
<!-- </th>-->
<!--</xpath>-->
<xpath expr="//span[@t-field='bo_line.product_uom_qty']" position="attributes">
<attribute name="style">font-weight: bold</attribute>
<attribute name="t-options-widget">"integer"</attribute>
</xpath>
<!--<xpath expr="//tbody/t/tr/td[2]" position="attributes">-->
<!-- <attribute name="class">text-right</attribute>-->
<!--</xpath>-->
<xpath t-if="o.backorder_ids and backorders" expr="//table[@name='stock_backorder_table']/thead/tr/th[1]" position="before">
<th style="text-align: right; width: 27mm; padding-right: 10px">
<strong>Part No.</strong>
</th>
</xpath>
<xpath t-if="o.backorder_ids and backorders" expr="//table[@name='stock_backorder_table']/thead/tr/th[2]" position="after">
<th style="text-align: right; width: 27mm; padding-right: 10px">
<strong>Open Quantity</strong>
</th>
</xpath>
<xpath t-if="o.backorder_ids and backorders" expr="//table[@name='stock_backorder_table']/tbody//td[2]" position="after">
<tr style="border-bottom: 1px solid rgb(220,220,220)">
<td colspan="8"/>
</tr>
</xpath>
<!--<xpath expr="//table[@name='stock_move_line_table']" position="after">-->
<!-- <t t-if="o.note_footer != '<p><br></p>'">-->
<!-- <span class="note" t-field="o.note_footer"/>-->
<!-- </t>-->
<!--</xpath> -->
</data>
Move Lines¶
ID: mint_system.stock.report_delivery_document.move_lines
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_line_table']" position="before">
<table class="tissa table table-sm" name="move_table">
<thead>
<tr>
<th>
<strong>Pos</strong>
</th>
<th>
<strong>Product (Sales Description)</strong>
</th>
<th>
<strong/>
</th>
<th class="cell_right">
<strong>Quantity</strong>
</th>
</tr>
</thead>
<tbody>
<t t-set="moves" t-value="o.move_lines"/>
<tr t-if="move.quantity_done > 0" t-foreach="moves" t-as="move">
<td>
<span t-esc="move.position"/>
</td>
<td>
<span t-esc="move.product_id.description_sale"/>
</td>
<td/>
<td class="cell_right">
<span t-esc="move.quantity_done"/>
<span t-field="move.product_uom"/>
</td>
</tr>
</tbody>
</table>
</xpath>
</data>
Package Info Tissa¶
ID: mint_system.stock.report_delivery_document.package_info_tissa
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//table[@name='stock_move_line_table']" position="after">
<table style="border: white">
<tr>
<td>
net weight:
<span t-field="o.x_studio_nettogewicht"/>
</td>
</tr>
<tr>
<td>
gross weight:
<span t-field="o.x_studio_bruttogewicht"/>
</td>
</tr>
<tr>
<td>
package:
<span t-field="o.x_studio_masse"/>
</td>
</tr>
</table>
<table style="margin-top: 30px; border: white">
<tr>
<td>
<span>Goods properly received:
____________________________________________________________</span>
</td>
</tr>
</table>
</xpath>
</data>
Pos In Table¶
ID: mint_system.stock.report_delivery_document.pos_in_table
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[1]/thead/tr/th[1]" position="before">
<th>
<span>Pos</span>
</th>
</xpath>
<xpath expr="//table[2]/thead/tr/th[1]" position="before">
<th>
<span>Pos</span>
</th>
</xpath>
<xpath expr="//t[@t-foreach='packages']" position="before">
<t t-set="index" t-value="1"/>
</xpath>
<xpath expr="//tr[@t-foreach='lines']" position="before">
<t t-set="index" t-value="1"/>
</xpath>
<xpath expr="//t[@name='aggregated_move_lines']/t[1]" position="before">
<t t-set="index" t-value="1"/>
</xpath>
<xpath expr="//table[1]/tbody/tr/td[1]" position="before">
<td>
<span t-esc="index"/>
<t t-set="index" t-value="index+1"/>
</td>
</xpath>
</data>
Remove Address Title¶
ID: mint_system.stock.report_delivery_document.remove_address_title
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='outgoing_delivery_address']/span" position="replace"/>
</data>
Remove Informations¶
ID: mint_system.stock.report_delivery_document.remove_informations
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='div_origin']/.." position="replace">
</xpath>
</data>
Remove Outgoing Delivery Address¶
ID: mint_system.stock.report_delivery_document.remove_outgoing_delivery_address
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@t-out='o.move_ids[0].partner_id or o.partner_id']" position="attributes">
<attribute name="style">visibility: hidden;</attribute>
</xpath>
</data>
Replace Address And Information Block¶
ID: mint_system.stock.report_delivery_document.replace_address_and_information_block
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//t[@t-set='address']" position="replace"/>
<xpath expr="//t[@t-set='information_block']" position="replace">
<span>Carbo-Link AG | Undermülistrasse 25 | CH 8320 Fehraltorf</span>
<div class="row text-900 o_bold">
<div class="col-7">Delivery Address</div>
<div class="col-5">Customer</div>
</div>
<div class="row">
<div class="col-7">
<span t-field="o.sale_id.partner_shipping_id.commercial_company_name"/>
</div>
<div class="col-5">
<span t-field="o.sale_id.partner_shipping_id.commercial_company_name"/>
</div>
</div>
<div class="row">
<div class="col-7">
<span t-field="o.sale_id.partner_shipping_id" t-options-widget=""contact"" t-options-fields="['address']" t-options-no_marker="True"/>
</div>
<div class="col-5">
<span t-field="o.sale_id.partner_id.name"/>
</div>
</div>
<div class="row">
<div class="col-5 text-900 o_bold offset-7" style="margin-top:25px">Invoice Address</div>
</div>
<div class="row">
<div class="col-5 offset-7">
<span t-field="o.sale_id.partner_shipping_id.commercial_company_name"/>
</div>
</div>
<div class="row">
<div class="col-5 offset-7">
<span t-field="o.sale_id.partner_invoice_id" t-options-widget=""contact"" t-options-fields="['address']" t-options-no_marker="True"/>
</div>
</div>
<div class="row o_bold text-900" style="margin-top:25px">
<div class="col-7">Your Contact</div>
<div class="col-5">Our Contact</div>
</div>
<div class="row">
<div class="col-7">
<span t-field="o.sale_id.partner_id.name"/>
</div>
<div class="col-5">
<span t-field="o.sale_id.user_id.name"/>
</div>
</div>
<div class="row">
<div class="col-7" style="margin-bottom:25px">
<span t-field="o.sale_id.partner_id" t-options-widget=""contact"" t-options-fields="['phone', 'email']" t-options-no_marker="True"/>
</div>
<div class="col-5">
<span t-field="o.sale_id.user_id" t-options-widget=""contact"" t-options-fields="['phone', 'email']" t-options-no_marker="True"/>
</div>
</div>
</xpath>
</data>
Replace Delivery Address¶
ID: mint_system.stock.report_delivery_document.replace_delivery_address
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='div_outgoing_address']" position="replace">
<t t-if="valued">
</t>
<t t-if="not valued">
<div name="div_outgoing_address">
<div name="address">
<div t-field="o.sale_id.partner_id" t-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": True}"/>
</div>
</div>
</t>
</xpath>
</data>
Replace Description Sale¶
ID: mint_system.stock.report_delivery_document.replace_description_sale
Inherit ID: stock.report_delivery_document
<data priority="55">
<xpath expr="//span[@t-field='move.product_id']" position="replace">
<t t-if="move.product_id.description_sale">
<span t-field="move.product_id.description_sale"/>
</t>
<t t-else="">
<span t-field="move.product_id"/>
</t>
</xpath>
</data>
Replace Header¶
ID: mint_system.stock.report_delivery_document.replace_header
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@t-if='o.origin']/.." position="before">
<style>
table#header {
width: 100%;
border: solid 1px;
font-size: 18pt;
}
table#header td {
padding: 5px;
padding-left: 10px;
vertical-align: middle;
font-weight: bold;
}
</style>
<table id="header">
<tr>
<td>Lieferschein <span t-field="o.name"/>
</td>
<td>
<span>
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=0' % ('Code128', o.name, 600, 100)" style="width:210px;height:60px; float:right;"/>
</span>
</td>
</tr>
</table>
</xpath>
</data>
Replace Information Table¶
ID: mint_system.stock.report_delivery_document.replace_information_table
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@class='report-wrapping-flexbox clearfix row mt32 mb32']" position="replace">
<style>
table#info_table {
border: transparent;
width: 100%;
}
table#info_table tr td {
border-right: none;
}
table#info_table strong {
color: black;
}
</style>
<div>
<table id="info_table">
<tr>
<td>
<strong>Customer Reference</strong>
<p t-field="o.sudo().sale_id.client_order_ref"/>
</td>
<td>
<strong>Shipping Date</strong>
<p t-field="o.scheduled_date" t-options="{"widget": "date"}"/>
</td>
<td>
<strong>Incoterms</strong>
<p t-field="o.sale_id.incoterm.code"/>
</td>
<td>
<strong>Carrier</strong>
<p t-field="o.carrier_id"/>
</td>
<td>
<span>
<strong>Total Weight</strong>
</span>
<br/>
<span t-field="o.shipping_weight"/>
<span t-field="o.weight_uom_name"/>
</td>
<td>
<strong>Order</strong>
<p t-field="o.origin"/>
</td>
</tr>
</table>
</div>
</xpath>
</data>
Replace Informations¶
ID: mint_system.stock.report_delivery_document.replace_informations
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='div_origin']/.." position="replace">
<style>
table#info {
width: 100%;
margin-bottom: 25px;
border: transparent;
}
table#info td {
color: black;
border: transparent;
}
table#info td:last-child {
background-color: transparent;
}
table#info tr {
text-align: top;
}
</style>
<table id="infotable" style="width: 700px; margin-bottom: 50px">
<tr>
<t t-if="o.date_done">
<td width="200px">Delivery Date</td>
<td width="500px">
<span id="date_done" t-field="o.date_done" t-options="{ "widget": "date" }"/>
</td>
</t>
</tr>
<tr>
<t t-if="o.sale_id.client_order_ref">
<td>Your Reference</td>
<td>
<span t-field="o.sale_id.client_order_ref"/>
</td>
</t>
</tr>
<tr>
<t t-if="o.origin">
<td>Order Reference</td>
<td>
<span t-field="o.origin"/>
</td>
</t>
</tr>
<tr>
<t t-if="o.sale_id.incoterm">
<td>Incoterm</td>
<td>
<span t-field="o.sale_id.incoterm.name"/>
</td>
</t>
</tr>
<tr>
<t t-if="o.partner_id.parent_id">
<td>Your Contact</td>
<td>
<span t-field="o.partner_id.name"/>
</td>
</t>
</tr>
<tr>
<t t-if="o.user_id">
<td>Our Contact</td>
<td>
<span t-field="o.user_id"/>
<t t-if="o.user_id.email">
, <span t-field="o.user_id.email"/>
</t>
<t t-if="o.user_id.phone">
, <span t-field="o.user_id.phone"/>
</t>
</td>
</t>
</tr>
</table>
</xpath>
</data>
Replace Infotable¶
ID: mint_system.stock.report_delivery_document.replace_infotable
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@class='page']/div[1]" position="replace">
<style>
table#infotable td,
table#infotable th {
padding-top: 0;
padding-bottom: 0;
}
</style>
<table id="infotable" class="table table-sm table-borderless">
<thead class="o_thead">
<tr>
<th id="origin">Auftrag:</th>
<th t-if="o.state == 'done'" id="date_done">Versanddatum:</th>
<th t-if="o.state != 'done'" id="scheduled_date">Versanddatum:</th>
<th id="client_order_ref">Kundenreferenz:</th>
</tr>
</thead>
<tbody>
<tr>
<td id="origin">
<span t-field="o.origin"/>
</td>
<td t-if="o.state == 'done'" id="date_done">
<span t-field="o.date_done"/>
</td>
<td t-if="o.state != 'done'" id="scheduled_date">
<span t-field="o.scheduled_date"/>
</td>
<td id="client_order_ref">
<span t-field="o.sudo().sale_id.client_order_ref"/>
</td>
</tr>
</tbody>
</table>
</xpath>
</data>
Replace Infotable Tissa¶
ID: mint_system.stock.report_delivery_document.replace_infotable_tissa
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@class='page']/div[1]" position="replace">
<style>
table#info {
width: 100%;
margin-bottom: 45px;
font-size: 11pt;
border: transparent;
}
table#info tr {
line-height: 1.2;
text-align: left;
}
.note {
font-size: 9pt;
}
</style>
<table id="info">
<tr>
<td width="16%">Kontaktnummer:</td>
<td width="44%">
<span t-field="o.partner_id.id"/>
</td>
<td width="19%">
Datum:
</td>
<td width="21%">
<span t-field="o.date_done" t-options="{"widget": "date"}"/>
</td>
</tr>
<tr>
<td>Kontaktperson:</td>
<td>
<span t-field="o.sale_id.partner_sale_id.name"/>
</td>
<td>Unser Auftrag:</td>
<td>
<t t-if="o.group_id">
<span t-field="o.group_id"/>
</t>
</td>
</tr>
<tr>
<td>USt-IdNr:</td>
<td>
<span t-field="o.partner_id.vat"/>
</td>
<td>Abruf:</td>
<td>
<span t-field="o.sale_id.comment"/>
<t t-if="o.sale_id.x_studio_kommission">
/ <span t-field="o.sale_id.x_studio_kommission"/>
</t>
</td>
</tr>
<tr>
<td>EORI-Nummer:</td>
<td>
<span t-field="o.partner_id.x_studio_eori_nummer"/>
</td>
<td>Ansprechpartner/in:</td>
<td>
<span t-field="o.partner_id.user_id"/>
</td>
</tr>
<tr>
<td>Ihre Bestellung:</td>
<td>
<span t-field="o.sale_id.client_order_ref"/>
</td>
<td>
MwSt-Nr:
</td>
<td>
CHE-103.327.797 MWST
</td>
</tr>
</table>
</xpath>
</data>
Replace Name¶
ID: mint_system.stock.report_delivery_document.replace_name
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//span[@t-field='o.name']/.." position="replace">
<h2>
Delivery note <span t-field="o.name"/>
</h2>
</xpath>
</data>
Replace Order Definition¶
ID: mint_system.stock.report_delivery_document.replace_order_definition
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@t-if='o.origin']/.." position="replace">
<style>
table#titel {
width: 100%;
font-size: 11pt;
margin-top: 10px;
}
table#titel tr {
border-bottom: 1px solid rgb(220,220,220);
}
table#titel td {
padding-left: 10px;
padding-bottom: 5px;
}
</style>
<table id="titel">
<tr>
<td style="width: 44%;">
<strong>Fertigungsauftrag <span t-field="o.origin"/></strong>
</td>
<td style="width: 56%">
<strong>Produkt </strong>
<span t-field="o.product_id"/>
</td>
</tr>
<tr>
<td>Status: <span t-field="o.state"/></td>
<td>Datum: <span t-field="o.scheduled_date" t-options="{"widget": "date"}"/></td>
</tr>
</table>
</xpath>
</data>
Replace Product Description¶
ID: mint_system.stock.report_delivery_document.replace_product_description
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_table']/tbody/tr/td[1]" position="replace">
<td>
<t t-if="move.product_id.type_description">
<strong>
<span t-field="move.product_id.type_description"/>
</strong>
<br/>
</t>
<span t-field="move.description_picking"/>
<br/>
<t t-if="move.product_id.country_of_origin.code">
<span>Ursprungsland: </span>
<span t-field="move.product_id.country_of_origin.code"/>
</t>
<t t-if="move.product_id.hs_code">
<span>/ Zollposition: </span>
<span t-field="move.product_id.hs_code"/>
</t>
</td>
</xpath>
<xpath expr="//table[@name='stock_move_table']/tbody/tr/td[2]" position="replace"/>
</data>
Replace Product Description On Backorder¶
ID: mint_system.stock.report_delivery_document.replace_product_description_on_backorder
Inherit ID: stock.report_delivery_document
<data inherit_id="stock.report_delivery_document" priority="50">
<xpath t-if="o.backorder_ids and backorders" expr="//table[@name='stock_backorder_table']/tbody/tr/td[1]" position="replace">
<td>
<span style="font-weight: bold" t-field="bo_line.product_id.type_description"/>
<br/>
<span t-field="bo_line.description_picking"/>
<br/>
<t t-if="bo_line.product_id.country_of_origin.code and bo_line.product_id.hs_code">
Country of origin: <span t-esc="bo_line.product_id.country_of_origin.code"/>
/ HS Code: <span t-esc="bo_line.product_id.hs_code"/>
<br/>
</t>
<t t-if="bo_line.product_id.hs_code and not bo_line.product_id.country_of_origin.code">
HS Code: <span t-esc="bo_line.product_id.hs_code"/>
</t>
<t t-if="bo_line.product_id.country_of_origin.code and not bo_line.product_id.hs_code">
Country of origin: <span t-esc="bo_line.product_id.country_of_origin.code"/>
</t>
</td>
</xpath>
<xpath t-if="o.backorder_ids and backorders" expr="//table[@name='stock_backorder_table']/tbody/tr/td[1]" position="before">
<td style="text-align: right; padding-right: 10px">
<span t-field="bo_line.product_id.default_code"/>
</td>
</xpath>
</data>
Replace Product Uom Qty¶
ID: mint_system.stock.report_delivery_document.replace_product_uom_qty
Inherit ID: stock.report_delivery_document
<data priority="49">
<xpath expr="//span[@t-field='move.product_uom_qty']" position="replace">
<span t-field="move.quantity"/>
</xpath>
</data>
Replace Sale Line Name¶
ID: mint_system.stock.report_delivery_document.replace_sale_line_name
Inherit ID: stock.report_delivery_document
<data priority="55">
<xpath expr="//span[@t-field='move.product_id']" position="replace">
<t t-if="move.sale_line_id">
<span t-field="move.sale_line_id.name"/>
</t>
<t t-else="">
<span t-field="move.product_id"/>
</t>
</xpath>
</data>
Replace Table¶
ID: mint_system.stock.report_delivery_document.replace_table
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@class='page']/div[2]" position="replace">
<div class="row">
<div class="col-4">
<strong>Verkaufsauftrag: </strong>
<span t-field="o.sale_id.name"/>
</div>
<div class="col-3">
<strong>Bestelldatum: </strong>
<span t-field="o.sale_id.date_order" t-options="{"widget": "date"}"/>
</div>
<div class="col-5" style="margin-left: 60px">
<strong>Kontakt Verkauf: </strong>
<span t-field="o.sale_id.user_id"/>
</div>
</div>
<div class="row">
<div class="col-4">
<strong>Kunden-Nr.: </strong>
<span t-field="o.partner_id.ref"/>
</div>
<div class="col-3">
<strong>Lieferdatum: </strong>
<span t-esc="o.scheduled_date" t-options="{"widget": "date"}"/>
</div>
<div class="col-5" style="margin-left: 60px">
<strong>Tel. Direkt: </strong>
<span t-field="o.sale_id.user_id.phone"/>
</div>
</div>
<div class="row" style="margin-bottom: 40px">
<div class="col-4">
</div>
<div class="col-3">
<div t-if="o.picking_type_id.code == 'outgoing' and o.carrier_id">
<strong>Spediteur: </strong>
<span t-field="o.carrier_id"/>
</div>
</div>
<div class="col-5" style="margin-left: 60px">
<strong>E-Mail: </strong>
<span t-field="o.sale_id.user_id.email"/>
</div>
</div>
</xpath>
</data>
Round Qty¶
ID: mint_system.stock.report_delivery_document.round_qty
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//span[@id='qty']" position="replace">
<!-- 34.00 -> 34 -->
<!-- 34.50 -> 34.5 -->
<!-- 34.75 -> 34.75 -->
<span id="qty" t-esc="'%g' % move.product_uom_qty"/>
</xpath>
<xpath expr="//span[@id='open_qty']" position="replace">
<!-- 34.00 -> 34 -->
<!-- 34.50 -> 34.5 -->
<!-- 34.75 -> 34.75 -->
<span id="open_qty" t-esc="'%g' % bo_line.product_uom_qty"/>
</xpath>
</data>
Sale Order Note¶
ID: mint_system.stock.report_delivery_document.sale_order_note
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_line_table']" position="after">
<p t-if="o.sale_id.note" style="margin-top: 3rem;" t-field="o.sale_id.note"/>
</xpath>
</data>
Sale Stock Picking Note¶
ID: mint_system.stock.report_delivery_document.sale_stock_picking_note
Inherit ID: stock.report_delivery_document
<data priority="55">
<xpath expr="//p[@t-if='o.customer_note']" position="replace">
</xpath>
<xpath expr="//table[@name='stock_move_line_table']" position="after">
<p t-if="o.customer_note" style="margin-top: 3rem;" t-field="o.customer_note"/>
</xpath>
</data>
Second Row¶
ID: mint_system.stock.report_delivery_document.second_row
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//td[@name='td_name']/../.." position="after">
<tr style="border-top: solid white !important">
<td/>
<td colspan="3">
<span t-field="line.name"/>
<t t-if="line.product_id.hs_code">
<br/>
<span>HS-Code: </span>
<span t-field="line.product_id.hs_code"/>
</t>
</td>
<td/>
</tr>
</xpath>
<xpath expr="//td[@name='td_name']" position="replace">
<td name="td_name">
<strong t-field="line.product_template_id"/>
</td>
</xpath>
</data>
Sequence In Table¶
ID: mint_system.stock.report_delivery_document.sequence_in_table
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[1]/thead/tr/th[1]" position="before">
<th>
<span>Pos</span>
</th>
</xpath>
<xpath expr="//table[1]/tbody/tr/td[1]" position="before">
<td>
<span t-esc="move.sequence-9"/>
</td>
</xpath>
</data>
Serials In One Line¶
ID: mint_system.stock.report_delivery_document.serials_in_one_line
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//th[@name='lot_serial']" position="replace">
<th name="lot_serial" class="text-end" t-else=""/>
</xpath>
<xpath expr="//th[@name='th_sml_product']" position="replace">
<!-- If Pos is not wanted delete / comment the following line -->
<th name="th_sml_position">Pos</th>
<th name="th_sml_product">Product<br/><span>Lot/Serial Number</span></th>
</xpath>
<xpath expr="//tr[@t-foreach='o.move_ids.move_line_ids']" position="replace">
<t t-foreach="o.move_ids" t-as="move">
<t t-set="serial_lines" t-value="move.move_line_ids"/>
<t t-if="serial_lines">
<t t-set="show_border" t-value="not move_last"/>
<!-- row with product name and total quantity -->
<tr>
<!-- If Pos is not wanted delete / comment the following <td>...</td> -->
<td>
<span t-field="move.position"/>
</td>
<td>
<span t-field="move.product_id"/>
<!-- Description workaround (same logic as original sub-template) -->
<t t-if="not description and description != ''">
<t t-set="description" t-value="move.description_picking"/>
</t>
<p t-if="description != '' and description != move.product_id.display_name and description != move.product_id.name">
<span t-out="description" t-options="{'widget': 'text'}"/>
</p>
</td>
<!-- multi-level package column -->
<td t-if="has_multi_level_packages"/>
<!-- Empty lot/serial column in the product row -->
<td t-if="has_serial_number" class="text-end"/>
<!-- Total quantity: sum all move_line quantities -->
<td class="text-end" name="move_line_lot_quantity" style="white-space: nowrap;">
<span t-out="format_number(sum(serial_lines.mapped('quantity')))"/>
<span t-field="move.product_uom"/>
</td>
</tr>
<!-- All serial numbers joined on one line, spanning all columns except the last one-->
<tr>
<td t-att-style="'border-bottom: 1px solid #dee2e6;' if show_border else ''"/>
<td t-att-colspan="1 + (1 if has_multi_level_packages else 0) + (1 if has_serial_number else 0)" class="text-muted" t-att-style="'font-family:monospace; padding-top:0; word-break: keep-all; overflow-wrap: normal;' + (' border-bottom: 1px solid #dee2e6;' if show_border else '')">
<small>
<t t-out="', '.join(sorted(move.lot_ids.mapped('name'))).replace('-', '\u2011')"/>
</small>
</td>
<td t-att-style="'border-bottom: 1px solid #dee2e6;' if show_border else ''"/>
</tr>
</t>
</t>
</xpath>
</data>
Set Customer Reference¶
ID: mint_system.stock.report_delivery_document.set_customer_reference
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//t[@t-set='address']" position="before">
<t t-set="information_block">
<span>
<strong>Kundennummer: </strong>
</span>
<span t-esc="partner.ref"/>
<br/>
<br/>
</t>
</xpath>
</data>
Set Document Model¶
ID: mint_system.stock.report_delivery_document.set_document_model
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//t[@t-call='web.external_layout']" position="before">
<t t-set="document_model" t-value="'stockpicking'"/>
</xpath>
</data>
Set Ids¶
ID: mint_system.stock.report_delivery_document.set_ids
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//table[@name='stock_move_table']//th[2]" position="attributes">
<attribute name="id">description</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_table']//th[3]" position="attributes">
<attribute name="id">quantity</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_table']//td[3]" position="attributes">
<attribute name="id">quantity</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_table']//td[3]/span[1]" position="attributes">
<attribute name="id">qty</attribute>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']//th[2]" position="attributes">
<attribute name="id">description</attribute>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']//th[3]" position="attributes">
<attribute name="id">open_quantity</attribute>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']//td[3]" position="attributes">
<attribute name="id">open_quantity</attribute>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']//th[3]" position="attributes">
<attribute name="id">open_quantity</attribute>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']//td[2]/span[1]" position="attributes">
<attribute name="id">open_qty</attribute>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']//th[4]" position="attributes">
<attribute name="id">quantity</attribute>
</xpath>
<xpath expr="//table[@name='stock_backorder_table']/../p" position="attributes">
<attribute name="class">subtitel</attribute>
</xpath>
</data>
Set Name¶
ID: mint_system.stock.report_delivery_document.set_name
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//table[@name='stock_move_table']//td[1]" position="attributes">
<attribute name="name">td_sm_product</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_table']//td[2]" position="attributes">
<attribute name="name">td_sm_ordered</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_table']//td[3]" position="attributes">
<attribute name="name">td_sm_quantity</attribute>
</xpath>
</data>
Set Page Font Size¶
ID: mint_system.stock.report_delivery_document.set_page_font_size
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//div[hasclass('page')]" position="inside">
<style>
body {
font-size: 0.875rem;
}
</style>
</xpath>
</data>
Set Sale Partner¶
ID: mint_system.stock.report_delivery_document.set_sale_partner
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='customer_address']" position="inside">
<t t-if="o.sale_id and o.sale_id.partner_id and o.partner_id and o.sale_id.partner_id != o.partner_id">
<t t-set="partner" t-value="o.sale_id.partner_id"/>
</t>
</xpath>
<xpath expr="//div[@name='customer_address']" position="after">
<div name="customer_address" t-if="o.picking_type_id.code=='outgoing' and partner and partner == partner.commercial_partner_id">
<strong>Customer Address</strong>
<t t-if="o.sale_id and o.sale_id.partner_id and o.partner_id and o.sale_id.partner_id != o.partner_id">
<t t-set="partner" t-value="o.sale_id.partner_id"/>
</t>
<t t-set="show_partner" t-value="True"/>
</div>
</xpath>
</data>
Set Table Font Size¶
ID: mint_system.stock.report_delivery_document.set_table_font_size
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//table[@name='stock_move_table']" position="before">
<style>
table th,
table td {
font-size: 0.8rem;
}
</style>
</xpath>
</data>
Set Title Font Size¶
ID: mint_system.stock.report_delivery_document.set_title_font_size
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//div[hasclass('page')]" position="inside">
<style>
h2 {
font-size: 1.5rem;
}
</style>
</xpath>
</data>
Show Customer Info Product Code¶
ID: mint_system.stock.report_delivery_document.show_customer_info_product_code
Inherit ID: stock.report_delivery_document
<data priority="50">
<span t-field="move.product_id" position="before">
<t t-set="customer_info" t-value="move.product_id._select_customerinfo(partner=o.partner_id)"/>
<t t-if="customer_info">
<span t-esc="'[%s] ' % customer_info[0].product_code"/>
</t>
</span>
</data>
Show Default Code¶
ID: mint_system.stock.report_delivery_document.show_default_code
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_table']" position="before">
<style>
th#default_code,
td#default_code {
white-space: nowrap;
}
</style>
</xpath>
<xpath expr="//table[@name='stock_move_table']//th[@name='th_sm_product']" position="before">
<th id="default_code" name="th_default_code">
<strong>Referenz</strong>
</th>
</xpath>
<!-- <xpath expr="//table[@name='stock_backorder_table']/thead/tr/th[1]" position="before">
<th id="default_code">
<strong >Nr.</strong>
</th>
</xpath> -->
<xpath expr="//table[@name='stock_move_table']//td" position="after">
<td id="default_code" name="td_default_code">
<span t-field="move.product_id.default_code"/>
</td>
</xpath>
</data>
Show General Conditions¶
ID: mint_system.stock.report_delivery_document.show_general_conditions
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@t-if='not o.signature']" position="before">
<div class="mt-3">
<p>
If goods are returned, we will deduct at least 20% of the net value of the goods from the refund.
In addition, care must be taken to ensure that the returned products are in perfect
and cleaned condition and in their original packaging.
The exact deduction from the net value of the goods depends on the condition of the goods returned to us.
<br/>If you have any questions, please do not hesitate to contact us.
</p>
</div>
</xpath>
</data>
Show Lot Ids¶
ID: mint_system.stock.report_delivery_document.show_lot_ids
Inherit ID: stock.report_delivery_document
<data priority="50">
<!-- <xpath expr="//table[@name='stock_move_table']//th[@name='th_sm_product']" position="after">
<th name="th_lot_ids">
<strong>Seriennummer</strong>
</th>
</xpath> -->
<xpath expr="//table[@name='stock_move_table']//span[@t-field='move.description_picking']/.." position="after">
<t t-if="move.lot_ids">
<br/>
<span>Seriennummern:</span>
<t t-esc="', '.join(move.lot_ids.mapped('name'))"/>
</t>
<!-- <td name="td_lots"> -->
<!-- <t t-esc="', '.join(move.lot_ids.mapped('name'))" /> -->
<!-- <ul class="list-unstyled">
<t t-foreach="move.lot_ids" t-as="lot">
<li t-esc="lot.name" />
</t>
</ul> -->
<!-- </td> -->
</xpath>
</data>
Show Quantity Done¶
ID: mint_system.stock.report_delivery_document.show_quantity_done
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_table']/tbody/t/td[2]/span[1]" position="attributes">
<attribute name="t-field">move.quantity_done</attribute>
</xpath>
</data>
Show Sale Order Name¶
ID: mint_system.stock.report_delivery_document.show_sale_order_name
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//div[@name='div_origin']" position="replace">
<div t-if="o.sale_id" class="col col-3 mw-100 mb-2" name="div_origin">
<strong>Order number</strong>
<div t-field="o.sale_id.name" class="m-0">S0001</div>
</div>
</xpath>
</data>
Sort By Position¶
ID: mint_system.stock.report_delivery_document.sort_by_position
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_table']/tbody/t" position="after">
<t t-set="lines" t-value="lines.sorted(key=lambda l: (l.position))"/>
</xpath>
<!---
<xpath expr="//table[@name='stock_backorder_table']/tbody/t/t" position="after">
<t t-set="bo_lines" t-value="bo_lines.sorted(key=lambda l: (l.position))"/>
</xpath>
-->
<xpath expr="//t[@name='no_package_move_lines']" position="before">
<t t-set="move_lines" t-value="move_lines.sorted(key=lambda l: (l.position))"/>
</xpath>
</data>
Style Airwork¶
ID: mint_system.stock.report_delivery_document.style_airwork
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
h2 {
margin-top: 40px;
}
</style>
</xpath>
<xpath expr="//div[@t-out='o.move_ids[0].partner_id or o.partner_id']" position="attributes">
<attribute name="t-options">{"widget": "contact", "fields": ["address", "name"], "no_marker": True}</attribute>
</xpath>
<xpath expr="//div[@t-field='o.picking_type_id.warehouse_id.partner_id']" position="attributes">
<attribute name="t-options">{"widget": "contact", "fields": ["address", "name"], "no_marker": True}</attribute>
</xpath>
<xpath expr="//div[@t-field='partner.commercial_partner_id']" position="attributes">
<attribute name="t-options">{"widget": "contact", "fields": ["address", "name"], "no_marker": True}</attribute>
</xpath>
<xpath expr="//th[@name='th_sm_position']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//th[@name='th_sm_product']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//th[@name='th_sm_ordered']" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
<xpath expr="//th[@name='th_sm_quantity']" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_table']//td[3]" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_table']//td[4]" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
</data>
Style Carbo Link¶
ID: mint_system.stock.report_delivery_document.style_carbo_link
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
.o_company_1_layout {
font-family: Dobra-Book;
font-size: 80%;
}
</style>
</xpath>
<xpath expr="//p[@t-field='o.date_done']" position="attributes">
<attribute name="t-options-widget">"date"</attribute>
</xpath>
<xpath expr="//p[@t-field='o.scheduled_date']" position="attributes">
<attribute name="t-options-widget">"date"</attribute>
</xpath>
</data>
Style Gelso¶
ID: mint_system.stock.report_delivery_document.style_gelso
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
.mt-4 {
margin-top: 5px !important;
}
</style>
</xpath>
<xpath expr="//th[@name='th_sml_product']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//table[1]" position="attributes">
<attribute name="class">table table-sm table-borderless</attribute>
</xpath>
<xpath expr="//table[2]" position="attributes">
<attribute name="class">table table-sm table-borderless</attribute>
</xpath>
</data>
Style Lapp¶
ID: mint_system.stock.report_delivery_document.style_lapp
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//table[@name='stock_move_table']/tbody" position="after">
<style>
td {
vertical-align: top !important;
}
</style>
</xpath>
<xpath expr="//h2" position="attributes">
<attribute name="style">color: black; font-size:13pt; font-weight:bold; margin-top:10mm; margin-bottom:3mm</attribute>
</xpath>
<xpath expr="//th[@id='position']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//th[@name='th_sml_product']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//th[@name='lot_serial']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//th[@name='th_sml_quantity']" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
</data>
Style Swift Link¶
ID: mint_system.stock.report_delivery_document.style_swift_link
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
.din_page.invoice_note tr .address {
font-size: 110%;
width: 90mm;
}
.din_page.invoice_note tr .shipping_address {
font-size: 110%;
}
th {
font-weight: bold;
}
</style>
</xpath>
</data>
Style Swissfragrance¶
ID: mint_system.stock.report_delivery_document.style_swissfragrance
Inherit ID: stock.report_delivery_document
<data priority="60">
<style>
.cell_left {
text-align: left;
}
</style>
<xpath expr="//div[hasclass('page')]" position="before">
<style>
h2 {
margin-top: 50px;
}
</style>
</xpath>
<xpath expr="//th[@name='th_sml_product']" position="attributes">
<attribute name="class" separator=" " add="cell_left"/>
</xpath>
</data>
Style Tissa¶
ID: mint_system.stock.report_delivery_document.style_tissa
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
table.tissa {
margin-top: 30px;
margin-bottom: 30px;
}
.cell_right {
text-align: right;
padding-right: 10px !important;
}
h2 {
font-size: 1.2rem;
font-weight: bold;
margin: 50px 0 30px 0
}
</style>
</xpath>
<xpath expr="//table[@name='stock_move_line_table']//th[@id='position']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_line_table']//th[@name='th_sml_product']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_line_table']//t[@name='lot_serial']/th" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//th[@name='th_sml_quantity']" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
<xpath expr="//table[@name='move_table']//th[1]" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//table[@name='move_table']//th[2]" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//th[@name='th_sm_quantity']" position="attributes">
<attribute name="class" separator=" " add="cell_right"/>
</xpath>
<xpath expr="//table[@name='stock_move_table']//td[2]" position="attributes">
<attribute name="class" separator=" " add="cell_right"/>
</xpath>
</data>
Style Trimada¶
ID: mint_system.stock.report_delivery_document.style_trimada
Inherit ID: stock.report_delivery_document
<data inherit_id="stock.report_delivery_document" priority="60">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
table.trimada {
font-size: 9pt;
font-family: arial;
color: black;
}
.o_company_1_layout {
font-family: arial;
}
table.trimada thead tr {
border-top:solid 1px;
border-bottom: solid 1px;
}
table.trimada thead th#position {
width: 5mm;
}
table.trimada thead th#default_code {
width: 27mm;
text-align: right;
}
table.trimada thead th#open_quantity {
width: 30mm;
text-align: right;
}
table.trimada thead th#quantity {
width: 25mm;
text-align: right !important;
}
table.trimada tbody td#position {
text-align: right;
}
table.trimada tbody tr {
border-bottom: 1px solid rgb(220,220,220)
}
table.trimada tbody td#default_code {
text-align: right;
}
table.trimada tbody td#open_quantity {
text-align: right !important;
}
table.trimada tbody td#quantity {
text-align: right;
}
table.trimada tbody span#qty {
font-weight: bold;
}
table.trimada tbody span#open_qty {
font-weight: bold;
}
.subtitel {
font-size: 11pt;
font-family: arial;
margin-top: 10mm;
}
.note {
font-size: 9pt;
font-family: arial;
}
</style>
</xpath>
<table name="stock_move_table" position="attributes">
<attribute name="class" separator=" " add="trimada table-borderless"/>
</table>
<table name="stock_backorder_table" position="attributes">
<attribute name="class" separator=" " add="trimada table-borderless"/>
</table>
</data>
Summary¶
ID: mint_system.stock.report_delivery_document.summary
Inherit ID: stock.report_delivery_document
<data priority="60">
<xpath expr="//table[@name='stock_move_line_table']" position="after">
<div style="margin-top: 30px">
<t t-set="lines" t-value="o.move_ids.move_line_ids"/>
<t t-set="product_weight" t-value="0.0"/>
<t t-set="net_weight" t-value="0.0"/>
<tr t-foreach="lines" t-as="move">
<t t-set="product_weight" t-value="move.product_id.weight * move.quantity"/>
<t t-set="net_weight" t-value="net_weight + product_weight"/>
</tr>
<t t-set="lines" t-value="o.package_ids"/>
<t t-set="count_packages" t-value="0"/>
<t t-set="total_weight" t-value="0.0"/>
<t t-set="has_shipping_weight" t-value="False"/>
<tr t-foreach="lines" t-as="package">
<t t-set="count_packages" t-value="count_packages + 1"/>
<t t-set="total_weight" t-value="total_weight + package.weight"/>
<t t-if="package.shipping_weight">
<t t-set="has_shipping_weight" t-value="True"/>
</t>
</tr>
<t t-if="not valued">
<table style="margin-left: auto; margin-right: 0; border: transparent;">
<t t-if="count_packages">
<tr>
<td style="width: 170px;">
<strong>Number of transport units:</strong>
</td>
<td style="text-align: right; width: 80px; padding-left: 5px">
<strong t-esc="count_packages"/>
</td>
</tr>
</t>
<t t-if="not has_shipping_weight">
<tr>
<td>
<strong>Total net weight:</strong>
</td>
<td style="text-align: right; padding-left: 5px">
<strong t-esc="net_weight"/>
<strong> kg</strong>
</td>
</tr>
<t t-if="total_weight">
<tr>
<td>
<strong>Total gross weight:</strong>
</td>
<td style="text-align: right; padding-left: 5px">
<t>
<strong t-esc="total_weight"/>
<strong> kg</strong>
</t>
</td>
</tr>
</t>
</t>
</table>
</t>
</div>
</xpath>
</data>
Switch Address Block¶
ID: mint_system.stock.report_delivery_document.switch_address_block
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//t[@t-set='address']" position="after">
<t t-set="information_block">
<div t-esc="partner" t-options="{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}"/>
</t>
</xpath>
<xpath expr="//t[@t-set='address']" position="replace">
<t t-set="address">
</t>
</xpath>
</data>
Tissa Move Lines¶
ID: mint_system.stock.report_delivery_document.tissa_move_lines
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_line_table']" position="before">
<table class="tissa table table-sm" name="move_table">
<thead>
<tr>
<th>
<strong>Pos</strong>
</th>
<th>
<strong>Product (Sales Description)</strong>
</th>
<th>
<strong/>
</th>
<th class="cell_right">
<strong>Quantity</strong>
</th>
</tr>
</thead>
<tbody>
<t t-set="moves" t-value="o.move_lines"/>
<tr t-foreach="moves" t-as="move">
<t t-if="move.quantity_done > 0">
<td>
<span t-esc="move.position"/>
</td>
<td>
<t t-if="move.product_id.description_sale">
<span t-esc="move.product_id.description_sale"/>
</t>
<t t-if="not move.product_id.description_sale">
<span t-esc="move.product_id.name"/>
</t>
<div>
<span t-field="move.product_id.product_tmpl_id.x_studio_kundenartikelnr"/>
</div>
</td>
<td/>
<td class="cell_right">
<span t-esc="move.quantity_done" t-esc-options="{'widget': 'float', 'format': '%.3f'}"/>
<span t-field="move.product_uom"/>
</td>
</t>
</tr>
</tbody>
</table>
</xpath>
</data>
Title Supplement¶
ID: mint_system.stock.report_delivery_document.title_supplement
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//h2" position="replace">
<h2>Delivery Slip <span t-field="o.name"/></h2>
</xpath>
</data>
Valued Document¶
ID: mint_system.stock.report_delivery_document.valued_document
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_line_table']//th[@name='lot_serial']" t-if="valued" position="replace">
<t t-if="valued">
</t>
<t t-if="not valued">
<th name="lot_serial">Lot/Serial Number
</th>
</t>
</xpath>
<xpath expr="//table[@name='stock_move_line_table']/thead/tr/th[@id='th_line_ve']" t-if="valued" position="replace">
<t t-if="valued">
</t>
<t t-if="not valued">
<th class="text-end" name="th_line_ve">VE
</th>
</t>
</xpath>
<xpath expr="//table[@name='stock_move_line_table']/thead/tr/th[@id='th_line_packing']" t-if="valued" position="replace">
<t t-if="valued">
</t>
<t t-if="not valued">
<th class="text-end" name="th_line_packing">Packing
</th>
</t>
</xpath>
<xpath expr="//table[@name='stock_move_table']/thead/tr/th[@id='th_packing']" t-if="valued" position="replace"/>
<xpath expr="//table[@name='stock_move_table']/thead/tr/th[@id='th_ve']" t-if="valued" position="replace"/>
<xpath expr="//td[@name='td_taxes']" position="replace">
<td name="td_taxes" t-if="valued" class="text-end">
<span t-out="move.tax_id.name"/>
</td>
</xpath>
</data>
X Hide On Delivery¶
ID: mint_system.stock.report_delivery_document.x_hide_on_delivery
Inherit ID: stock.report_delivery_document
<data priority="50">
<xpath expr="//table[@name='stock_move_table']/tbody/t" position="after">
<t t-set="lines" t-value="lines.filtered(lambda l: not l.product_id.x_hide_on_delivery)"/>
</xpath>
<xpath expr="//t[@name='no_package_move_lines']" position="before">
<t t-set="move_lines" t-value="move_lines.filtered(lambda l: not l.product_id.x_hide_on_delivery)"/>
</xpath>
<xpath expr="//t[@t-set='package_move_lines']" position="after">
<t t-set="package_move_lines" t-value="package_move_lines.filtered(lambda l: not l.product_id.x_hide_on_delivery)"/>
</xpath>
</data>
Report Label¶
Aersolution¶
ID: mint_system.stock.report_label.aersolution
Inherit ID: stock.report_label
<t t-name="stock.report_label.aersolution">
<t t-foreach="range(0, label_qty)" t-as="label_qty">
<div class="row">
<div class="col-6">
<img t-if="env.user.company_id.logo" t-att-src="image_data_uri(env.user.company_id.logo)" style="max-width: 180px;" alt="Logo"/>
</div>
<div class="col-6">
<strong><t t-esc="env.user.company_id.partner_id.name"/><br/>
<t t-esc="env.user.company_id.partner_id.country_id.code"/>-<t t-esc="env.user.company_id.partner_id.zip"/> <t t-esc="env.user.company_id.partner_id.city"/></strong>
</div>
</div>
<br/>
<p t-esc="product_id.display_name"/>
<p><span style="margin-right: 8px;">LS/SN:</span><t t-esc="lot_id.name if lot_id else picking.name"/></p>
<p t-if="lot_id.expiration_date"><span style="margin-right: 8px;">EXP:</span><span t-field="lot_id.expiration_date" t-options="{'widget': 'date'}"/></p>
<t t-set="putaway_rule_id" t-value="product_id.putaway_rule_ids[:1]"/>
<p><span style="margin-right: 8px;">LOC:</span><span t-esc="putaway_rule_id.location_out_id.display_name if putaway_rule_id else 'WH/Stock'"/></p>
<p style="page-break-before:always;"/>
</t>
</t>
Report Location Barcode¶
Label Lapp¶
ID: mint_system.stock.report_location_barcode.label_lapp
Inherit ID: stock.report_location_barcode
<data priority="50">
<xpath expr="//t[@t-call='stock.report_generic_barcode']" position="replace">
<style>
body, div, .container {
padding-top: 0px !important;
padding-right: 0px !important;
padding-left: 0px !important;
margin: 0px !important;
background-color: #fff !important;
}
</style>
<t t-foreach="docs" t-as="o">
<t t-set="title">Locations</t>
<t t-name="stock.report_generic_barcode">
<t t-call="web.basic_layout">
<!-- <t t-call="web.html_container"> -->
<div>
<table style="width: 100%; background-color: #fff;">
<tbody style="border: none; background-color: #fff;">
<!-- Section 1: name (font-size in relation to text length) -->
<style>
div#textarea {
margin-top:10mm;
text-align:center;
border-collapse:collapse;
border: 0px solid transparent;
}
tr {
border: 0px solid transparent;
}
</style>
<tr>
<td>
<t t-set="name_text" t-value="o.name or ''"/>
<t t-set="name_len" t-value="len(name_text) if name_text else 1"/>
<t t-set="max_font_size" t-value="200"/>
<t t-set="font_size" t-value="min(max(20, int(450 / name_len * 2)), max_font_size)"/>
<t t-set="line_height" t-value="int(font_size * 1.1)"/>
<div id="textarea">
<span t-out="o.name" t-att-style="'display:inline-block; white-space:nowrap; overflow:hidden; font-size:{}px; line-height:{}px;'.format(font_size, line_height)">
</span>
</div>
</td>
</tr>
<!-- Section 2: Barcode -->
<tr>
<td>
<div class="text-center">
<span t-if="o.barcode" t-field="o.barcode" style="margin-bottom: 0px;" t-options="{'widget': 'barcode', 'humanreadable': 0, 'symbology': 'auto', 'img_style': 'width:100mm;height:25mm; margin-bottom: 10px'}">1234567890</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- </t> -->
</t>
</t>
</t>
</xpath>
</data>
Report Lot Label¶
Aersolution¶
ID: mint_system.stock.report_lot_label.aersolution
Inherit ID: stock.report_lot_label
<t t-name="stock.report_lot_label.aersolution">
<t t-call="web.basic_layout">
<div class="page">
<t t-foreach="docs" t-as="lot">
<t t-set="label_qty" t-value="1"/>
<t t-set="company_id" t-value="lot.company_id"/>
<t t-set="lot_id" t-value="lot"/>
<t t-set="product_id" t-value="lot.product_id"/>
<t t-call="mint_system.stock.report_label.aersolution"/>
</t>
</div>
</t>
</t>
Label Lapp¶
ID: mint_system.stock.report_lot_label.label_lapp
Inherit ID: stock.report_lot_label
<data priority="50">
<xpath expr="//t[@t-name='stock.report_lot_label']" position="replace">
<t t-name="stock.report_lot_label">
<t t-foreach="docs" t-as="o">
<t t-call="web.basic_layout">
<t t-call="web.html_container">
<table style="border: 1px solid white; height: 90mm; width: 120mm;">
<style>
div#textarea {
margin:1mm;
margin-top:8mm;
margin-bottom:1mm;
padding:0;
text-align:center;
border-collapse:collapse;
border: 1px solid white;
}
</style>
<!-- Section 1: Product -->
<tr style="height: 40mm;">
<td>
<div id="textarea">
<t t-set="name_text" t-value="o.product_id.name or ''"/>
<t t-set="name_len" t-value="len(name_text) if name_text else 1"/>
<t t-set="max_font_size" t-value="int(50)"/>
<!-- Adapt font size in order to stay within 2 lines / avoid second line break -->
<t t-set="font_size" t-value="min(max(36, int(1400 / name_len)), max_font_size)"/>
<t t-set="line_height" t-value="int(font_size * 1.1)"/>
<span t-out="name_text" t-att-style="'font-size:{}px; line-height:{}px;'.format(font_size, line_height)">
</span>
</div>
</td>
</tr>
<!-- Section 2: Lot -->
<tr style="height: 10mm;">
<td>
<div id="textarea">
<span t-out="o.name" t-att-style="'font-size:36px; line-height:40px;'">
</span>
</div>
</td>
</tr>
<!-- Section 3: Barcode -->
<tr>
<td>
<div class="text-center">
<span t-if="o.name" t-field="o.name" style="margin-bottom: 0px;" t-options="{'widget': 'barcode', 'humanreadable': 0, 'symbology': 'auto','img_style': 'width:120mm;height:25mm; '}">
</span>
</div>
</td>
</tr>
</table>
</t>
</t>
</t>
</t>
</xpath>
</data>
Label Swift Link¶
ID: mint_system.stock.report_lot_label.label_swift_link
Inherit ID: stock.report_lot_label
<data priority="50">
<xpath expr="//t[@t-name='stock.report_lot_label']" position="replace">
<t t-name="stock.report_lot_label">
<t t-foreach="docs" t-as="o">
<t t-call="web.basic_layout">
<t t-call="web.html_container">
<table style="border: 1px solid white; height: 40mm; width: 60mm; background-color: white; font-size:10.5pt; position:relative; left:-5px;">
<tr>
<td>
<div class="o_label_4x12" t-if="o.product_id.default_code" t-att-style="'font-size:20pt; font-weight: bold; margin-left: 5mm'"><t t-out="o.product_id.default_code"/></div>
<div t-att-style="'position:relative; width:65mm; height:22mm; margin-top: 1px'">
<!-- Define final_barcode -->
<t t-set="final_barcode" t-value="''"/>
<t name="gs1_datamatrix_lot" t-set="final_barcode" t-value="(final_barcode or '') + o.name"/>
<!-- Data matrix in right section -->
<div t-if="final_barcode" t-att-style="'position:absolute; right:2px; top:5px'">
<span t-out="final_barcode" t-options="{'widget': 'barcode', 'symbology': 'ECC200DataMatrix', 'img_style': 'width:18mm; height:18mm'}">12345678901</span>
</div>
<!-- Left section with default_code, name and qty -->
<div class="o_label_4x12" t-esc="o.product_id.name[:36]" t-att-style="'width:40mm;'">Demo Product</div>
<div class="o_label_4x12" t-esc="'Qty ' + str(o.product_qty)" t-att-style="'width:36mm; font-weight: bold; margin-top: 1px'">Demo Qty</div>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<div class="o_label_4x12" name="lot_name" t-field="o.name" t-att-style="'font-size:11pt'">Demo Lot/SN</div>
<div class="o_label_4x12" t-if="o.product_id.type_description" t-esc="o.product_id.type_description[:30]" t-att-style="'width:100%'">Product Code</div>
</td>
</tr>
</table>
</t>
</t>
</t>
</t>
</xpath>
</data>
Report Picking¶
Add Address Block¶
ID: mint_system.stock.report_picking.add_address_block
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//table[1]" position="after">
<div class="table address_block">
<div class="row">
<div class="col">
<div t-field="o.partner_id" t-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": True}"/>
</div>
</div>
</div>
</xpath>
</data>
Add Delivery Note¶
ID: mint_system.stock.report_picking.add_delivery_note
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="/t/t/t/t/div/table[1]" position="after">
<p t-field="o.delivery_note"/>
</xpath>
</data>
Add Drawing File¶
ID: mint_system.stock.report_picking.add_drawing_file
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//tbody[1]//td[1]/span" position="after">
<t t-if="ml.product_id.drawing_file">
<br/>
<span>Drawing: </span>
<a t-attf-href="{{ml.product_id.drawing_file.url}}">
<span t-field="ml.product_id.drawing_file.display_name"/>
</a>
</t>
</xpath>
</data>
Add Mrp Production X Note¶
ID: mint_system.stock.report_picking.add_mrp_production_x_note
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//table[@id='main_table']" position="after">
<t t-set="production" t-value="o.group_id.mrp_production_ids"/>
<t t-foreach="production" t-as="production_line">
<t t-if="production_line.x_note != '<br>'">
<p class="oe_no_empty" t-field="production_line.x_note"/>
</t>
</t>
</xpath>
</data>
Barcode Label¶
ID: mint_system.stock.report_picking.barcode_label
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//div/div/div/img" position="before">
<strong>Rüstschein Code:</strong>
</xpath>
</data>
Format Delivery Date¶
ID: mint_system.stock.report_picking.format_delivery_date
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//p[@t-field='o.scheduled_date']" position="attributes">
<attribute name="t-options-widget">"date"</attribute>
</xpath>
</data>
Format Qty¶
ID: mint_system.stock.report_picking.format_qty
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//span[@id='product_uom_qty']" position="replace">
<t t-if="ml.product_uom_id.id == 1">
<span id="product_uom_qty" t-field="ml.product_uom_qty" t-options="{'widget': 'integer'}"/>
</t>
<t t-else="">
<span id="product_uom_qty" t-field="ml.product_uom_qty"/>
</t>
</xpath>
<xpath expr="//span[@id='qty_available']" position="replace">
<t t-if="ml.product_uom_id.id == 1">
<span id="qty_available" t-field="ml.product_id.qty_available" t-options="{'widget': 'integer'}"/>
</t>
<t t-else="">
<span id="qty_available" t-field="ml.product_id.qty_available"/>
</t>
</xpath>
</data>
Format Qty Available¶
ID: mint_system.stock.report_picking.format_qty_available
Inherit ID: stock.report_picking
<data priority="60">
<span id="qty_available" position="attributes">
<attribute name="t-options-widget">"integer"</attribute>
</span>
</data>
Format Title¶
ID: mint_system.stock.report_picking.format_title
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//h1[@t-field='o.name']" position="replace">
<h1 t-esc="'Rüstschein ' + o.name.replace('WH/OUT/', '')"/>
</xpath>
</data>
Get Position¶
ID: mint_system.stock.report_picking.get_position
Inherit ID: stock.report_picking
<data priority="50">
<!-- <xpath expr="//th[@name='th_product']" position="before">
<t t-if="o.sale_id or o.purchase_id"> -->
<xpath expr="//th[@id='default_code']" position="before">
<th id="position">
<strong>Pos</strong>
</th>
<!-- </t> -->
</xpath>
<xpath expr="//td[@id='default_code']" position="before">
<!-- <xpath expr="//span[@t-field='ml.product_id.description_picking']/.." position="before"> -->
<!-- <t t-if="o.sale_id or o.purchase_id"> -->
<td id="position">
<span t-esc="move.position"/>
</td>
<!-- </t> -->
</xpath>
</data>
Group By Date¶
ID: mint_system.stock.report_picking.group_by_date
Inherit ID: stock.report_picking
<data inherit_id="stock.report_picking" priority="50">
<xpath expr="//div[hasclass('page')]" position="before">
<!-- Get all lines without duplicates -->
<t t-set="dates" t-value="[]"/>
<t t-foreach="o.move_ids_without_package" t-as="move">
<t t-if="move.date and move.date.date() not in dates">
<t t-set="dates" t-value="dates + [move.date.date()]"/>
</t>
</t>
<!-- Store if has dates -->
<t t-set="has_dates" t-value="len(dates) > 0"/>
<!-- Store if has multiple dates -->
<t t-set="has_multiple_dates" t-value="len(dates) > 1"/>
</xpath>
<!-- Replace loop -->
<xpath expr="//tr[@t-foreach='o.move_line_ids_without_package.sorted(lambda ml: (ml.location_id.complete_name, ml.location_dest_id.complete_name))']" position="replace">
<!--<p t-esc="dates" />-->
<!--<p t-esc="has_dates" />-->
<!--<p t-esc="has_multiple_dates" />-->
<!-- Loop each group item -->
<t t-foreach="dates" t-as="date">
<!-- Insert group item -->
<tr t-if="has_dates and date" class="o_line_note">
<td colspan="99" style="padding-top: 1rem;">
<strong>
<span>Lieferdatum: </span>
<span t-esc="date" t-options="{'widget': 'date'}"/>
</strong>
</td>
</tr>
<!-- Show only move that are assigned to the group item -->
<t t-set="move_ids" t-value="o.move_ids_without_package.filtered(lambda m: m.date.strftime('%Y-%m-%d') == date.strftime('%Y-%m-%d')).sorted(lambda m: m.date)"/>
<t t-foreach="move_ids" t-as="move">
<t t-foreach="move.move_line_ids.sorted(key=lambda ml: ml.location_id.id)" t-as="ml">
<tr>
<td id="description_picking">
<span t-field="ml.product_id.display_name"/>
<br/>
<span t-field="ml.product_id.description_picking"/>
</td>
<td id="product_uom_qty">
<span t-if="o.state != 'done'" t-field="ml.product_uom_qty"/>
<span t-if="o.state == 'done'" t-field="ml.qty_done"/>
<span t-field="ml.product_uom_id" groups="uom.group_uom"/>
</td>
<td id="location_id" t-if="o.picking_type_id.code != 'incoming'" groups="stock.group_stock_multi_locations">
<span t-esc="ml.location_id.display_name"/>
<t t-if="ml.package_id">
<span t-field="ml.package_id"/>
</t>
</td>
<td id="location_dest_id" t-if="o.picking_type_id.code != 'outgoing'" groups="stock.group_stock_multi_locations">
<div>
<span t-field="ml.location_dest_id"/>
<t t-if="ml.result_package_id">
<span t-field="ml.result_package_id"/>
</t>
</div>
</td>
<td id="has_serial_number" class=" text-center h6" t-if="has_serial_number">
<img t-if="has_serial_number and (ml.lot_id or ml.lot_name)" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&humanreadable=1' % ('Code128', ml.lot_id.name or ml.lot_name, 400, 100)" style="width:100%;height:35px;" alt="Barcode"/>
</td>
<td id="has_barcode" class="text-center" t-if="has_barcode">
<t t-if="product_barcode != move.product_id.barcode">
<span t-if="move.product_id and move.product_id.barcode">
<span t-field="move.product_id.barcode" t-options="{'widget': 'barcode', 'symbology': 'Code128', 'width': 100,'height': 35,'quiet': 0,'img_style': 'width:100px;height: 35px;' }"/>
</span>
<t t-set="product_barcode" t-value="move.product_id.barcode"/>
</t>
</td>
</tr>
</t>
</t>
</t>
</xpath>
</data>
Header Box¶
ID: mint_system.stock.report_picking.header_box
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//h1" position="replace">
<div class="header_box">
<div class="row align-items-center">
<div class="col">
<h1 class="trimada">Rüstschein <span t-field="o.name"/>
</h1>
</div>
<div class="col">
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=0' % ('Code128', o.name, 600, 100)" style="width:210px;height:60px; float:right;" alt="Barcode"/>
</div>
</div>
</div>
</xpath>
</data>
Hide Address¶
ID: mint_system.stock.report_picking.hide_address
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//div[@name='div_outgoing_address']/.." position="replace"/>
</data>
Hide Location Dest¶
ID: mint_system.stock.report_picking.hide_location_dest
Inherit ID: stock.report_picking
<data priority="50">
<!-- Hide destination location column for outgoing deliveries of operation type Pick Components -->
<xpath expr="//th[@name='th_to']" position="replace">
<th name="th_to" t-if="o.picking_type_id.code != 'outgoing' and o.picking_type_id.id != 12" groups="stock.group_stock_multi_locations">
<strong>To</strong>
</th>
</xpath>
<xpath expr="//td[@id='location_dest_id']" position="replace">
attribute name="t-if"
<td t-if="o.picking_type_id.code != 'outgoing' and o.picking_type_id.id != 12" groups="stock.group_stock_multi_locations"><div><span t-field="ml.location_dest_id"/><t t-if="ml.result_package_id"><span t-field="ml.result_package_id"/></t></div></td>
</xpath>
</data>
Hide Name¶
ID: mint_system.stock.report_picking.hide_name
Inherit ID: stock.report_picking
Margin Barcode¶
ID: mint_system.stock.report_picking.margin_barcode
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//div/div/div/img" position="attributes">
<attribute name="style" separator=";" add="margin-bottom: 1rem"/>
</xpath>
</data>
Margin Before Table¶
ID: mint_system.stock.report_picking.margin_before_table
Inherit ID: stock.report_picking
<data priority="60">
<xpath expr="//table[1]" position="attributes">
<attribute name="style" separator=";" add="margin-top: 1rem"/>
</xpath>
</data>
Modify No Reserved Product¶
ID: mint_system.stock.report_picking.modify_no_reserved_product
Inherit ID: stock.report_picking
<?xml version="1.0"?>
<data inherit_id="stock.report_picking" priority="50">
<xpath expr="//t[@t-set='no_reserved_product']" position="attributes">
<attribute name="t-value">o.move_ids.filtered(lambda x: x.product_uom_qty != x.should_consume_qty and x.state!='done')</attribute>
</xpath>
</data>
Move State¶
ID: mint_system.stock.report_picking.move_state
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//div[@name='div_sched_date']" position="after">
<xpath expr="//div[@name='div_state']" position="move"/>
</xpath>
</data>
Partner Ref¶
ID: mint_system.stock.report_picking.partner_ref
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//div[@name='div_incoming_address']/div[1]" position="before">
<div t-if="o.partner_id.ref">
<span>
<strong>Kundennummer: </strong>
</span>
<span t-field="o.partner_id.ref"/>
</div>
</xpath>
</data>
Pos In Table¶
ID: mint_system.stock.report_picking.pos_in_table
Inherit ID: stock.report_picking
<data priority="60">
<xpath expr="//table[1]/thead/tr/th[1]" position="before">
<th>
<strong>Pos</strong>
</th>
</xpath>
<xpath expr="//t[@t-foreach='o.move_ids_without_package']" position="before">
<span t-set="index" t-value="1"/>
</xpath>
<xpath expr="//table[1]/tbody/t//tr/td[1]" position="before">
<td>
<span t-esc="index"/>
<t t-set="index" t-value="index+1"/>
</td>
</xpath>
</data>
Pricelist Below Address¶
ID: mint_system.stock.report_picking.pricelist_below_address
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//div[@name='partner_header']/p" position="after">
<span t-field="o.sale_id.pricelist_id.display_name"/>
</xpath>
</data>
Product Description¶
ID: mint_system.stock.report_picking.product_description
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//td[@id='description_picking']" position="replace">
<td id="description_picking">
<strong>
<span t-esc="move.product_id.type_description"/>
</strong>
<br/>
<t t-if="move.description_picking">
<span t-esc="move.description_picking"/>
<br/>
</t>
<t t-if="not move.description_picking">
<span t-esc="move.product_id.name"/>
<br/>
</t>
<span id="description_pickingout" t-field="move.product_id.description_pickingout"/>
</td>
</xpath>
</data>
Relocate Quantity¶
ID: mint_system.stock.report_picking.relocate_quantity
Inherit ID: stock.report_picking
<data inherit_id="stock.report_picking" priority="50">
<xpath expr="//th[@id='product_uom_qty']" position="replace"/>
<xpath expr="//th[@id='th_to']" position="after">
<th id="product_uom_qty">
<strong>Quantity</strong>
</th>
</xpath>
<xpath expr="//td[@id='product_uom_qty']" position="replace"/>
<xpath expr="//td[@id='location_dest_id']" position="after">
<td id="product_uom_qty">
<t t-if="o.state != 'done'">
<span id="product_uom_qty" t-esc="ml.quantity_product_uom"/>
</t>
<t t-if="o.state == 'done'">
<span id="qty_done">
(<span t-esc="'%g' % ml.quantity_product_uom"/>)
</span>
<span id="product_uom_qty" t-esc="'%g' % (o.move_ids.product_uom_qty - ml.quantity_product_uom)"/>
</t>
<span t-field="ml.product_uom_id" groups="uom.group_uom"/>
<br/>
<span id="qty_available" t-field="ml.product_id.qty_available"/>
<span id="qty_available_uom_id" t-field="ml.product_id.uom_id"/>
</td>
</xpath>
</data>
Remove From And To¶
ID: mint_system.stock.report_picking.remove_from_and_to
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//th[@name='th_from']" position="replace">
</xpath>
<xpath expr="//th[@name='th_to']" position="replace">
</xpath>
<xpath expr="//tbody/t//tr/td[3]" position="replace">
</xpath>
</data>
Remove Reservation Notice¶
ID: mint_system.stock.report_picking.remove_reservation_notice
Inherit ID: stock.report_picking
Remove Serial Number¶
ID: mint_system.stock.report_picking.remove_serial_number
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//th[@t-if='has_serial_number']" position="replace">
</xpath>
<xpath expr="//td[@t-if='has_serial_number']" position="replace">
</xpath>
</data>
Remove To¶
ID: mint_system.stock.report_picking.remove_to
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//th[@name='th_to']" position="replace">
<th name="th_to" t-if="o.picking_type_id.code != 'outgoing' and o.picking_type_id.id != 12" groups="stock.group_stock_multi_locations">
<strong>To</strong>
</th>
</xpath>
<xpath expr="//td[@id='location_dest_id']" position="replace">
<td t-if="o.picking_type_id.code != 'outgoing' and o.picking_type_id.id != 12" groups="stock.group_stock_multi_locations">
<div>
<span t-field="ml.location_dest_id"/>
<t t-if="ml.result_package_id">
<span t-field="ml.result_package_id"/>
</t>
</div>
</td>
</xpath>
</data>
Replace Barcode¶
ID: mint_system.stock.report_picking.replace_barcode
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//td[@id='barcode']" position="replace">
<td id="barcode" class="trimada" t-if="has_barcode">
<t t-if="product_barcode != move.product_id.barcode">
<span t-if="move.product_id and move.product_id.barcode">
<img t-if="len(move.product_id.barcode) == 13" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=%s' % ('EAN13', move.product_id.barcode, 290, 100, 0)" style="height:35px" alt="Barcode"/>
<img t-if="len(move.product_id.barcode) == 8" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=%s' % ('EAN8', move.product_id.barcode, 290, 100, 0)" style="height:35px" alt="Barcode"/>
<div t-else="" t-field="move.product_id.barcode" t-options-quiet="0" t-options="{'widget': 'barcode', 'height': 100, 'img_style': 'width:100px; height:35px;'}"/>
</span>
<t t-set="product_barcode" t-value="move.product_id.barcode"/>
</t>
</td>
</xpath>
</data>
Replace Header¶
ID: mint_system.stock.report_picking.replace_header
Inherit ID: stock.report_picking
<data inherit_id="stock.report_picking" priority="50">
<xpath expr="//div[@name='right_box']/.." position="replace">
<style>
table.trimada_header {
width: 100%;
font-family: arial;
font-size: 18pt;
font-weight: bold;
border:solid 1px;
}
table.trimada_header td {
padding-left: 10px;
vertical-align: middle;
padding: 5px;
}
</style>
<table class="trimada_header">
<tr>
<td>Rüstschein <span t-field="o.name"/>
</td>
<td>
<div>
<span t-field="o.name" t-options="{'widget': 'barcode', 'symbology': 'Code128', 'width': 600,'height': 100,'quiet': 0,'img_style': 'width:210px;height:60px; float:right' }"/>
</div>
</td>
</tr>
</table>
</xpath>
</data>
Replace Infotable¶
ID: mint_system.stock.report_picking.replace_infotable
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//div[@class='page']/div[1]" position="replace">
<style>
.gisada_header {
width: 100%;
font-size: 20px;
font-weight: bold;
border-top: 1px solid black;
border-bottom: 1px solid black;
}
.gisada {
margin-top: 10px;
width: 100%;
margin-bottom: 30px;
padding-bottom: 10px;
}
</style>
<table class="gisada_header">
<tr>
<td>
Order number: <span t-field="o.x_client_order_ref"/>,
Delivery date: <span t-field="o.date_deadline" t-options="{ "widget": "date" }"/>
<t t-if="o.x_vst">
, VST: <span t-field="o.x_vst"/>
</t>
</td>
</tr>
</table>
<table class="gisada">
<tr>
<td width="22%">Order date:</td>
<td width="36%">
<span t-field="o.x_date_order" t-options="{ "widget": "date" }"/>
</td>
<td width="17%">Contact person:</td>
<td width="41%">
<span t-field="o.sale_id.user_id"/>
</td>
</tr>
<tr>
<td>
Customer number:
</td>
<td>
<span t-field="o.partner_id.parent_id.ref"/>
</td>
<td>
Order number:
</td>
<td>
<span t-field="o.origin"/>
</td>
</tr>
<tr>
<td>
VAT number customer:
</td>
<td>
<span t-field="o.partner_id.parent_id.vat"/>
</td>
<td>
MwSt. Nr.:
</td>
<td>
<span t-field="o.company_id.company_registry"/>
</td>
</tr>
<tr>
<td>EORI:</td>
<td>
<span t-field="o.partner_id.parent_id.x_eori"/>
</td>
<td>EORI:</td>
<td>
<span t-field="o.company_id.partner_id.x_eori"/>
</td>
</tr>
</table>
</xpath>
</data>
Replace Order Definition¶
ID: mint_system.stock.report_picking.replace_order_definition
Inherit ID: stock.report_picking
<data inherit_id="stock.report_picking" priority="50">
<xpath expr="//div[@name='div_origin']/.." position="replace">
<style>
table.trimada_order {
width: 100%;
font-size: 11pt;
font-family: arial;
border: transparent;
}
table.trimada_order tr {
border-bottom: 1px solid rgb(220,220,220);
}
.first_col {
width: 44%;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
}
.second_col {
width: 56%;
}
.last_row {
border: transparent;
}
</style>
<table class="trimada_order">
<tr>
<t t-if="o.picking_type_id.id == 12">
<td class="first_col">
<strong>
Fertigungsauftrag
<span t-field="o.origin"/>
</strong>
</td>
<td class="second_col">
<strong>
Produkt
<span/>
</strong>
<span t-field="o.group_id.mrp_production_ids.product_id"/>
</td>
</t>
<t t-if="o.picking_type_id.id != 12">
<td class="first_col">
<strong>
Bestellung
<span t-field="o.origin"/>
</strong>
</td>
<td/>
</t>
</tr>
<tr>
<td class="first_col">
Status:
<span t-field="o.state"/>
</td>
<td class="second_col">
Datum:
<span t-field="o.scheduled_date" t-options="{"widget": "date"}"/>
</td>
</tr>
<tr class="last_row">
<td class="first_col">
Typ:
<span t-field="o.picking_type_id.code"/>
</td>
<td>
<t t-if="o.carrier_id">
Auslieferungsmethode:
<span t-field="o.carrier_id"/>
</t>
</td>
</tr>
</table>
</xpath>
</data>
Replace Table¶
ID: mint_system.stock.report_picking.replace_table
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//table[@t-if='o.move_line_ids and o.move_ids_without_package']" position="replace">
<table style="width:100%; font-family: arial; font-size: 9pt; margin-top: 20px" t-if="o.move_line_ids and o.move_ids_without_package">
<t t-set="has_barcode" t-value="any(move_line.product_id and move_line.product_id.sudo().barcode or move_line.package_id for move_line in o.move_line_ids)"/>
<t t-set="has_serial_number" t-value="any(move_line.lot_id or move_line.lot_name for move_line in o.move_line_ids)" groups="stock.group_production_lot"/>
<tr style="border-bottom: 1px solid rgb(220,220,220);">
<th name="th_product" style="padding-left: 9px; padding-bottom: 10px; width:12%;">
<strong>Art. Nr.</strong>
</th>
<th style="width:40%">
<strong>Bezeichnung / Typenbezeichnung</strong>
</th>
<th style="width:12%" name="th_from" t-if="o.picking_type_id.code != 'incoming'" align="left" groups="stock.group_stock_multi_locations">
<strong>Von</strong>
</th>
<th style="width:12%" name="th_to" t-if="o.picking_type_id.code != 'outgoing'" groups="stock.group_stock_multi_locations">
<strong>Nach</strong>
</th>
<th style="width:18%; text-align:right; padding-right:20px;">
<strong>Menge</strong>
</th>
<th style="width:3%; text-align:right; padding-right:10px;">
<strong>Lager</strong>
</th>
<th name="th_serial_number" class="text-center" t-if="has_serial_number">
<strong>Lot/Serial Number</strong>
</th>
<th style="width:3%" name="th_barcode" class="text-center" t-if="has_barcode">
<strong/>
</th>
</tr>
<t t-foreach="o.move_ids_without_package" t-as="move">
<!-- In case you come across duplicated lines, ask NIM or LAP -->
<t t-foreach="move.move_line_ids.sorted(key=lambda ml: ml.location_id.id)" t-as="ml">
<tr style="border-bottom: 1px solid rgb(220,220,220);">
<td style="padding-left: 10px; padding-top:5px; vertical-align:top;">
<span t-field="ml.product_id.default_code"/>
<br/>
</td>
<td style="padding-top:5px; vertical-align:top; padding-right: 10px">
<span t-field="ml.product_id.name"/>
<br/>
<span t-field="ml.product_id.type_description"/>
</td>
<td style="padding-top:5px; vertical-align:top;" t-if="o.picking_type_id.code != 'incoming'" groups="stock.group_stock_multi_locations">
<span t-esc="ml.location_id.display_name"/>
<t t-if="ml.package_id">
<span t-field="ml.package_id"/>
</t>
</td>
<td style="padding-top:5px; vertical-align:top;" t-if="o.picking_type_id.code != 'outgoing'" groups="stock.group_stock_multi_locations">
<div>
<span t-field="ml.location_dest_id"/>
<t t-if="ml.result_package_id">
<span t-field="ml.result_package_id"/>
</t>
</div>
</td>
<td style="padding-top:5px; vertical-align:top; text-align:right; padding-right:20px; font-weight: bold">
<span t-if="o.state != 'done'" t-field="ml.product_uom_qty"/>
<span t-if="o.state == 'done'" t-field="ml.qty_done"/>
<span t-field="ml.product_uom_id" groups="uom.group_uom"/>
</td>
<td style="padding-top:5px; padding-right: 10px; vertical-align:top; text-align:right">
<span t-field="ml.product_id.qty_available"/>
</td>
<td class=" text-center h6" t-if="has_serial_number">
<img t-if="has_serial_number and (ml.lot_id or ml.lot_name)" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&humanreadable=1' % ('Code128', ml.lot_id.name or ml.lot_name, 400, 100)" style="width:100%;height:35px;" alt="Barcode"/>
</td>
<td style="padding-top: 5px; padding-bottom: 5px; vertical-align:middle;" class="text-center" t-if="has_barcode">
<t t-if="product_barcode != move.product_id.barcode">
<span t-if="move.product_id and move.product_id.barcode">
<img t-if="len(move.product_id.barcode) == 13" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=%s' % ('EAN13', move.product_id.barcode, 290, 100, 0)" style="height:35px" alt="Barcode"/>
<img t-elif="len(move.product_id.barcode) == 8" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=%s' % ('EAN8', move.product_id.barcode, 290, 100, 0)" style="height:35px" alt="Barcode"/>
<img t-else="" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=%s' % ('Code128', move.product_id.barcode, 290, 100, 0)" style="height:35px" alt="Barcode"/>
</span>
<t t-set="product_barcode" t-value="move.product_id.barcode"/>
</t>
</td>
</tr>
</t>
</t>
</table>
</xpath>
</data>
Round Qty¶
ID: mint_system.stock.report_picking.round_qty
Inherit ID: stock.report_picking
<data inherit_id="stock.report_picking" priority="50">
<xpath expr="//span[@id='product_uom_qty']" position="replace">
<!-- 34.00 -> 34 -->
<!-- 34.50 -> 34.5 -->
<!-- 34.75 -> 34.75 -->
<t t-if="ml.quantity_product_uom">
<span id="quantity_product_uom" t-esc="'%g' % ml.quantity_product_uom"/>
</t>
</xpath>
<xpath expr="//span[@id='qty_available']" position="replace">
<!-- 34.00 -> 34 -->
<!-- 34.50 -> 34.5 -->
<!-- 34.75 -> 34.75 -->
<span id="qty_available" t-esc="'%g' % ml.product_id.qty_available"/>
</xpath>
</data>
Set Ids¶
ID: mint_system.stock.report_picking.set_ids
Inherit ID: stock.report_picking
<data priority="60">
<xpath expr="//th[@name='th_product']" position="attributes">
<attribute name="id">th_product</attribute>
</xpath>
<xpath expr="//th[@name='th_product']/../th[2]" position="attributes">
<attribute name="id">product_uom_qty</attribute>
</xpath>
<xpath expr="//th[@name='th_to']" position="attributes">
<attribute name="id">th_to</attribute>
</xpath>
<xpath expr="//td[@t-if='has_barcode']" position="attributes">
<attribute name="id">barcode</attribute>
</xpath>
<xpath expr="//th[@name='th_product']/../../.." position="attributes">
<attribute name="id">main_table</attribute>
</xpath>
</data>
Set Page Font Size¶
ID: mint_system.stock.report_picking.set_page_font_size
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
body {
font-size: 0.875rem;
}
</style>
</xpath>
</data>
Show Default Code¶
ID: mint_system.stock.report_picking.show_default_code
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//th[@id='th_product']" position="before">
<th id="default_code">
<strong>Part No.</strong>
</th>
</xpath>
<xpath expr="//td[@id='description_picking']" position="before">
<td id="default_code">
<span t-field="ml.product_id.default_code"/>
</td>
</xpath>
</data>
Show Full Address¶
ID: mint_system.stock.report_picking.show_full_address
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//div[@name='partner_header']/div" position="attributes">
<attribute name="t-options-fields">['name', 'phone', 'address']</attribute>
</xpath>
</data>
Show Lot¶
ID: mint_system.stock.report_picking.show_lot
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//th[@name='th_product']/../th[4]" position="after">
<th name="th_lot">
<strong>Los</strong>
</th>
</xpath>
<xpath expr="//span[@t-field='move.product_uom_qty']/.." position="after">
<td>
<span t-if="move.lot_ids" t-esc="', '.join(move.lot_ids.mapped('display_name'))"/>
</td>
</xpath>
</data>
Show Move Not Lines¶
ID: mint_system.stock.report_picking.show_move_not_lines
Inherit ID: stock.report_picking
<data priority="40">
<xpath expr="//table[@t-if='o.move_line_ids and o.move_ids_without_package']" position="attributes">
<attribute name="t-if">o.move_ids_without_package</attribute>
</xpath>
<xpath expr="//tbody/t/t" position="replace">
<tr>
<td>
<span t-field="move.product_id.display_name"/>
<br/>
<span t-field="move.product_id.description_picking"/>
</td>
<td>
<span t-field="move.product_uom_qty"/>
<span t-if="not move.product_packaging.x_packaging_uom_id" t-field="move.product_uom" groups="uom.group_uom"/>
<span t-if="move.product_packaging.x_packaging_uom_id" t-field="move.product_packaging.x_packaging_uom_id" groups="uom.group_uom"/>
</td>
<td t-if="o.picking_type_id.code != 'incoming'" groups="stock.group_stock_multi_locations">
<span t-esc="move.location_id.display_name"/>
</td>
<td t-if="o.picking_type_id.code != 'outgoing'" groups="stock.group_stock_multi_locations">
<div>
<span t-field="move.location_dest_id"/>
</div>
</td>
<td class=" text-center h6" t-if="has_serial_number"/>
<td class="text-center" t-if="has_barcode">
<t t-if="product_barcode != move.product_id.barcode">
<span t-if="move.product_id and move.product_id.barcode">
<img t-if="len(move.product_id.barcode) == 13" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=%s' % ('EAN13', move.product_id.barcode, 400, 100, 0)" style="height:35px" alt="Barcode"/>
<img t-elif="len(move.product_id.barcode) == 8" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=%s' % ('EAN8', move.product_id.barcode, 400, 100, 0)" style="height:35px" alt="Barcode"/>
<img t-else="" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=%s' % ('Code128', move.product_id.barcode, 400, 100, 0)" style="height:35px" alt="Barcode"/>
</span>
<t t-set="product_barcode" t-value="move.product_id.barcode"/>
</t>
</td>
</tr>
</xpath>
</data>
Show Move Qty¶
ID: mint_system.stock.report_picking.show_move_qty
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//span[@t-field='ml.product_uom_qty']" position="replace">
<span t-if="o.state != 'done'" t-field="move.product_uom_qty"/>
</xpath>
</data>
Show Order Date¶
ID: mint_system.stock.report_picking.show_order_date
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//div[@name='div_origin']" position="after">
<div t-if="o.sale_id" class="col-auto" name="div_date_order">
<strong>Bestelldatum:</strong>
<p t-esc="o.sale_id.date_order" t-options="{'widget': 'date'}"/>
</div>
</xpath>
</data>
Show Packaging¶
ID: mint_system.stock.report_picking.show_packaging
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//table[1]/thead/tr/th[1]" position="after">
<th>
<strong>Verpackung</strong>
</th>
</xpath>
<xpath expr="//table[1]/tbody/t//tr/td[1]" position="after">
<td>
<span t-if="move.product_packaging" t-esc="move.product_packaging.name"/>
</td>
</xpath>
</data>
Show Qty Available¶
ID: mint_system.stock.report_picking.show_qty_available
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//table[4]/thead/tr/th[6]" position="after">
<th id="qty_available">
<strong>Lager</strong>
</th>
</xpath>
<xpath expr="//table[4]/tbody/t/t/tr/td[6]" position="after">
<td id="qty_available">
<span id="qty_available" t-field="ml.product_id.qty_available"/>
<span t-field="ml.product_uom_id"/>
</td>
</xpath>
</data>
Stock Delivery Note¶
ID: mint_system.stock.report_picking.stock_delivery_note
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="/t/t/t/t/div/table[1]" position="after">
<div class="row">
<div class="col">
<p t-field="o.note"/>
</div>
</div>
</xpath>
</data>
Style Trimada¶
ID: mint_system.stock.report_picking.style_trimada
Inherit ID: stock.report_picking
<data inherit_id="stock.report_picking" priority="60">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
p {
font-size: 9pt;
font-family: arial;
}
table.trimada {
width: 100%;
font-size: 9pt;
font-family: arial;
margin-top: 20px;
}
table.trimada thead tr {
border-top: solid 1px;
border-bottom: solid 1px;
}
table.trimada thead th#position {
width: 5mm;
}
table.trimada thead th#default_code {
width: 27mm;
padding-left: 10px;
text-align: left;
}
table.trimada thead th#quantity {
width: 25mm;
text-align: right !important;
}
table.trimada thead th#product_uom_qty {
width: 35mm;
text-align: right;
}
table.trimada tbody td#position {
text-align: right;
}
table.trimada tbody tr {
vertical-align: top;
border-bottom: 1px solid rgb(220,220,220)
}
table.trimada tbody td#default_code {
padding-left: 10px;
text-align: left;
}
table.trimada tbody td span#description_pickingout {
font-style: italic;
}
table.trimada tbody td#product_uom_qty {
text-align: right;
}
table.trimada tbody td span#product_uom_qty {
font-weight: bold;
}
table.trimada tbody td span#quantity_product_uom {
font-weight: bold;
}
table.trimada tbody td span#product_uom_qty_done {
font-weight: bold;
}
table.trimada tbody td span#qty_available {
font-size: 7pt;
}
table.trimada tbody td span#qty_available_uom_id {
font-size: 7pt;
}
table.trimada tbody td span#qty_done {
font-weight: normal;
font-size: 9pt;
}
table.trimada #barcode {
text-align: right;
}
div.address_block {
font-size: 10pt;
font-family: arial;
margin-top: 20px;
margin-left: 10px;
}
.subtitel {
font-size: 11pt;
font-family: arial;
margin-top: 10mm;
}
.note {
font-size: 9pt;
font-family: arial;
}
.mrp_note {
font-size: 9pt;
font-family: arial;
padding-bottom: 3mm;
}
</style>
</xpath>
. <xpath expr="//th[@name='th_product']/../../.." position="attributes">
<attribute name="class" separator=" " add="trimada table-borderless"/>
</xpath>
<xpath expr="//th[@name='th_product']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
</data>
X Count Packaging¶
ID: mint_system.stock.report_picking.x_count_packaging
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//table[1]/thead/tr/th[2]" position="after">
<th>
<strong>Anzahl Verp.</strong>
</th>
</xpath>
<xpath expr="//table[1]/tbody/t//tr/td[2]" position="after">
<td>
<span t-if="move.x_count_packaging" t-esc="move.x_count_packaging"/>
</td>
</xpath>
</data>
X Packaging Uom Id¶
ID: mint_system.stock.report_picking.x_packaging_uom_id
Inherit ID: stock.report_picking
<data priority="50">
<xpath expr="//span[@t-field='ml.product_uom_id']" position="replace">
<span t-if="not move.product_packaging.x_packaging_uom_id" t-field="ml.product_uom_id" groups="uom.group_uom"/>
<span t-if="move.product_packaging.x_packaging_uom_id" t-field="move.product_packaging.x_packaging_uom_id" groups="uom.group_uom"/>
</xpath>
</data>
Report Picking Document¶
Tissa¶
ID: mint_system.stock.report_picking_document.tissa
Inherit ID: stock.report_picking_document
<t t-name="report_picking_document.tissa">
<style>
table#info {
width: 100%;
margin-top: 60px;
}
table#info tr {
font-size: 72px;
font-weight: normal;
}
tr#info_details {
font-size: 18px;
}
table#info_details {
width: 100%;
font-size: 30px;
border-bottom: solid 1px grey;
margin-top: 60px;
margin-bottom: 60px;
}
table#info_details th {
font-weight: bold;
}
table#batch {
width: 100%;
font-size: 72px;
font-weight: bold;
}
table#batch_details {
width: 100%;
font-size: 40px;
}
</style>
<div class="page" style="font-family: Arial, Helvetica, sans-serif"/>
<tr t-foreach="doc.move_line_ids" t-as="table_line">
<div class="row">
<div class="col-2">
<img class="img-fluid" src="/web/image/9446-7fe212a9/230x115mm_1fbg_black_logo%20tissa%20textiles.jpg"/>
</div>
<div class="col-10" style="font-family: Arial, Helvetica, sans-serif; font-size: 18px">
<strong t-field="res_company.display_name"/>
<br/>
<span t-field="res_company.country_id.code"/>
<span> - </span>
<span t-field="res_company.zip"/>
<span/>
<span t-field="res_company.city"/>
</div>
</div>
<table id="info">
<tr>
<td>
<span t-field="table_line.display_name"/>
</td>
<td style="text-align: right">
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=0' % ('Code128', table_line.product_id.product_tmpl_id.barcode, 250, 85)" alt="Barcode"/>
</td>
</tr>
<table id="info_details">
<tr>
<th style="width:33%">Name</th>
<th style="width:33%">Lieferant</th>
<th style="width:33%">Beschreibung</th>
</tr>
<tr>
<td>
<span t-field="table_line.product_id.product_template_attribute_value_ids"/>
</td>
<td>
<span t-field="table_line.product_id.product_template_attribute_value_ids.product_attribute_value_id.x_studio_lieferant"/>
</td>
<td>
<span t-field="table_line.product_id.product_template_attribute_value_ids.product_attribute_value_id.x_studio_beschreibung"/>
</td>
</tr>
</table>
<table id="batch">
<tr>
<td>
<strong t-field="table_line.lot_id.display_name"/>
</td>
<td style="text-align: right">
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=0' % ('Code128', table_line.lot_id.display_name, 250, 85)" alt="Barcode"/>
</td>
</tr>
</table>
</table>
<table id="batch_details">
<tr>
<td>
<span t-field="table_line.qty_done"/>
<span/>
<span t-field="table_line.product_uom_id.display_name"/>
<img style="padding-left:25px" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&quiet=0' % ('Code128', table_line.qty_done, 250, 40)" alt="Barcode"/>
</td>
</tr>
<tr>
<td>
<span t-field="table_line.lot_id.unit_on_lot"/>
<span> Spulen</span>
</td>
</tr>
<td>
<span>Einlagerungsdatum: </span>
<span t-field="table_line.create_date" t-options="{"widget": "date"}"/>
</td>
</table>
<p style="page-break-after: always;"/>
</tr>
</t>
Report Reception Report Label¶
Aersolution¶
ID: mint_system.stock.report_reception_report_label.aersolution
Inherit ID: stock.report_reception_report_label
<t t-name="stock.report_reception_report_label.aersolution">
<t t-call="web.basic_layout">
<div class="page">
<t t-foreach="docs" t-as="picking">
<t t-foreach="picking.move_line_ids.filtered(lambda m: m.qty_done > 0.0)" t-as="move_line">
<t t-set="label_qty" t-value="move_line.move_id.x_label_qty"/>
<t t-set="company_id" t-value="picking.company_id"/>
<t t-set="lot_id" t-value="move_line.lot_id"/>
<t t-set="product_id" t-value="move_line.product_id"/>
<t t-call="mint_system.stock.report_label.aersolution"/>
</t>
</t>
</div>
</t>
</t>
Search Product Lot Filter¶
Filter Active¶
ID: mint_system.stock.search_product_lot_filter.filter_active
Inherit ID: stock.search_product_lot_filter
<data priority="50">
<field name="product_id" position="after">
<filter name="active" string="Archiviert" domain="[('active', '=', False)]"/>
</field>
</data>
Stock Report Delivery Aggregated Move Lines¶
Add Country Of Origin And Hs Code¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.add_country_of_origin_and_hs_code
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="49">
<xpath expr="///tr/td[1]/p/span[1]" position="after">
<br/>
<t t-if="aggregated_lines[line]['product']['country_of_origin']['code'] and aggregated_lines[line]['hs_code']">
Country of origin: <span t-esc="aggregated_lines[line]['product']['country_of_origin']['code']"/>
/ HS Code: <span t-esc="aggregated_lines[line]['hs_code']"/>
</t>
<t t-if="aggregated_lines[line]['hs_code'] and not aggregated_lines[line]['product']['country_of_origin']['code']">
HS Code: <span t-esc="aggregated_lines[line]['hs_code']"/>
</t>
<t t-if="aggregated_lines[line]['product']['country_of_origin']['code'] and not aggregated_lines[line]['hs_code']">
Country of origin: <span t-esc="aggregated_lines[line]['product']['country_of_origin']['code']"/>
</t>
</xpath>
</data>
Add Default Code¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.add_default_code
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="50">
<xpath expr="//td[2]" position="after">
<tr style="border-bottom: 1px solid rgb(220,220,220)">
<td colspan="8"/>
</tr>
</xpath>
<xpath expr="//tr/td[1]" position="before">
<td style="text-align: right; padding-right: 10px">
<span t-esc="aggregated_lines[line]['product']['default_code']"/>
</td>
</xpath>
</data>
Add Drawing File¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.add_drawing_file
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="50">
<xpath expr="//tr/td[1]/span[1]" position="after">
<t t-if="aggregated_lines[line]['product'].drawing_file">
<br/>
<span>Drawing: </span>
<a t-attf-href="{{aggregated_lines[line]['product'].drawing_file.url}}">
<span t-esc="aggregated_lines[line]['product'].drawing_file.display_name"/>
</a>
</t>
</xpath>
</data>
Format Pos¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.format_pos
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="50">
<xpath expr="//t[@t-if='o.sale_id']/td" position="attributes">
<attribute name="style">text-align: right; width: 5mm</attribute>
</xpath>
<xpath expr="//t[@t-if='o.purchase_id']/td" position="attributes">
<attribute name="style">text-align: right; width: 5mm</attribute>
</xpath>
</data>
Format Qty With Decimal¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.format_qty_with_decimal
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="50">
<xpath expr="//td[@name='move_line_aggregated_qty_ordered']/span[1]" position="replace">
<t t-if="aggregated_lines[line]['product_uom'].id == 1">
<span t-esc="aggregated_lines[line]['qty_ordered']" t-options="{'widget': 'integer'}"/>
</t>
<t t-else="">
<span t-esc="aggregated_lines[line]['qty_ordered']" t-options="{'widget': 'float', 'decimal_precision': 'Product Unit of Measure'}"/>
</t>
</xpath>
<xpath expr="//td[@name='move_line_aggregated_quantity']/t/span[1]" position="replace">
<t t-if="aggregated_lines[line]['product_uom'].id == 1">
<span t-esc="aggregated_lines[line]['quantity']" t-options="{'widget': 'integer'}"/>
</t>
<t t-else="">
<span t-esc="aggregated_lines[line]['quantity']" t-options="{'widget': 'float', 'decimal_precision': 'Product Unit of Measure'}"/>
</t>
</xpath>
</data>
Format Table¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.format_table
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="50">
<xpath expr="//td[@name='move_line_aggregated_quantity']" position="attributes">
<attribute name="class">text-right</attribute>
</xpath>
<xpath expr="//td[@name='move_line_aggregated_quantity']/t/span[1]" position="attributes">
<attribute name="style">font-weight: bold</attribute>
<attribute name="t-options">{'widget': 'integer'}</attribute>
</xpath>
<xpath expr="//tr/td/p" position="attributes">
<attribute name="style">margin-bottom:0px</attribute>
</xpath>
</data>
Get Position¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.get_position
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="50">
<xpath expr="/t/tr/td[1]" position="before">
<t t-if="o.purchase_id or o.sale_id">
<td>
<span t-esc="aggregated_lines[line]['move']['position']"/>
</td>
</t>
</xpath>
</data>
Hs Code Origin And Weight¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.hs_code_origin_and_weight
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="50">
<xpath expr="/t/tr/td[1]/span" position="after">
<t t-if="aggregated_lines[line]['product'].hs_code">
<br/>
<span>HS Code: </span>
<span t-field="aggregated_lines[line]['product'].hs_code"/>
</t>
<t t-if="o.product_id.country_of_origin">
<br/>
<span>Country of Origin: </span>
<span t-field="o.product_id.country_of_origin.code"/>
</t>
<t t-if="aggregated_lines[line]['product'].weight">
<br/>
<span>Weight: </span>
<span t-field="aggregated_lines[line]['product'].weight"/>
<span t-field="aggregated_lines[line]['product'].weight_uom_id.display_name"/>
</t>
</xpath>
</data>
Pos In Table¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.pos_in_table
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="50">
<xpath expr="/t/tr/td[1]" position="before">
<td>
<span t-esc="index"/>
<t t-set="index" t-value="index+1"/>
</td>
</xpath>
</data>
Replace Description¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.replace_description
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="50">
<xpath expr="//tr/td[2]" position="replace">
<td>
<span t-esc="aggregated_lines[line]['product']['description_sale']"/>
<span t-esc="aggregated_lines[line]['product']['hs_code']"/>
</td>
</xpath>
</data>
<!--
<data priority="49">
<xpath expr="//td[1]/span" position="replace">
<span style="font-weight: bold" t-esc="aggregated_lines[line]['product']['name']"/>
<br/>
Product Code: <span t-esc="aggregated_lines[line]['product']['default_code']"/>
<br/>
<t t-if="aggregated_lines[line]['hs_code']">HS-Code: <span t-esc="aggregated_lines[line]['hs_code']"/>
</t>
</xpath>
</data>
-->
Replace Name¶
ID: mint_system.stock.stock_report_delivery_aggregated_move_lines.replace_name
Inherit ID: stock.stock_report_delivery_aggregated_move_lines
<data priority="49">
<xpath expr="//tr/td[1]/span[1]" position="replace">
<strong>
<span t-esc="aggregated_lines[line]['product']['type_description']"/>
</strong>
</xpath>
</data>
Stock Report Delivery Has Serial Move Line¶
Add Packing¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.add_packing
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="50">
<xpath expr="//td[@name='move_line_lot_quantity']" position="before">
<t t-if="not valued">
<td class="text-end">
<span t-esc="move_line.move_id.product_packaging_id.name"/>
</td>
<td class="text-end">
<span t-esc="move_line.product_packaging_qty" t-options="{"widget": "integer"}"/>
</td>
</t>
</xpath>
</data>
Barcode¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.barcode
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="50">
<xpath expr="//span[@t-field='move_line.lot_id.name']" position="after">
<span t-field="move_line.lot_id.name" t-options="{"widget": "barcode", "width": 350, "height": 50}"/>
</xpath>
</data>
Description Sale¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.description_sale
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="50">
<xpath expr="//td[1]" position="replace">
<td>
<t t-if="move_line.product_id.description_sale">
<span t-field="move_line.product_id.description_sale"/>
</t>
<t t-else="">
<span t-field="move_line.product_id"/>
</t>
</td>
</xpath>
</data>
Format Qty With Decimal¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.format_qty_with_decimal
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="50">
<xpath expr="//span[@t-field='move_line.quantity']" position="replace">
<t t-if="move_line.product_uom_id.id == 12">
<span t-field="move_line.quantity" t-options="{'widget': 'integer'}"/>
</t>
<t t-else="">
<span t-field="move_line.quantity"/>
</t>
</xpath>
</data>
Get Position¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.get_position
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="50">
<xpath expr="//td[1]" position="before">
<td id="position">
<span t-esc="move_line.move_id.position"/>
</td>
</xpath>
</data>
Hide Lot¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.hide_lot
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="50">
<xpath expr="//t[@name='move_line_lot']" position="replace">
<t t-if="valued"/>
<t t-if="not valued">
<t t-if="has_serial_number" name="move_line_lot">
<td>
<span t-field="move_line.lot_id.name"/>
</td>
</t>
</t>
</xpath>
</data>
Hide Packaging¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.hide_packaging
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="50">
<xpath expr="//span[@groups='product.group_stock_packaging']" position="replace"/>
</data>
Hs Code And Origin¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.hs_code_and_origin
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="50">
<xpath expr="//span[@t-field='move_line.product_id']" position="after">
<td id="td_hs_code">
<span t-esc="move_line.move_id.product_id.hs_code"/>
</td>
<td id="td_origin">
<span t-esc="move_line.move_id.product_id.country_of_origin.code"/>
</td>
</xpath>
</data>
Pos In Table¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.pos_in_table
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="50">
<xpath expr="/t/td[1]" position="before">
<td>
<span t-esc="index"/>
<t t-set="index" t-value="index+1"/>
</td>
</xpath>
</data>
Show Customer Info Product Code¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.show_customer_info_product_code
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="60">
<xpath expr="//td[1]//span[1]" position="before">
<t t-set="customer_info" t-value="move_line.product_id._select_customerinfo(partner=o.partner_id)"/>
<t t-if="customer_info">
<span t-esc="'[%s] ' % customer_info[0].product_code"/>
</t>
</xpath>
</data>
Style Tissa¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.style_tissa
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="60">
<xpath expr="//td[1]" position="before">
<style>
.cell_right {
text-align: right;
padding-right: 10px !important;
}
</style>
</xpath>
<xpath expr="//td[@name='move_line_lot_qty_done']" position="attributes">
<attribute name="class">cell_right</attribute>
</xpath>
</data>
Style Xinomer¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.style_xinomer
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="60">
<xpath expr="//td[@name='move_line_lot_quantity']" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
</data>
Valued Document¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.valued_document
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="50">
<xpath expr="//span[@t-field='move_line.product_uom_id']" position="after">
<td name="td_priceunit" t-if="valued" class="text-end">
<span t-field="move_line.move_id.move_price_unit">10.00</span>
</td>
<td name="td_discount" t-if="valued and display_discount" class="text-end">
<span t-field="move_line.move_id.discount">-</span>
</td>
<td name="td_taxes" t-if="valued" class="text-end">
<span t-out="move_line.move_id.tax_id.name"/>
</td>
<td name="td_subtotal" t-if="valued" class="text-end o_price_total">
<span t-field="move_line.move_id.price_subtotal">27.00</span>
</td>
</xpath>
</data>
X Hide On Delivery¶
ID: mint_system.stock.stock_report_delivery_has_serial_move_line.x_hide_on_delivery
Inherit ID: stock.stock_report_delivery_has_serial_move_line
<data priority="55">
<xpath expr="/t" position="replace">
<t t-name="stock.stock_report_delivery_has_serial_move_line">
<t t-if="not move_line.product_id.x_hide_on_delivery and move_line.qty_done > 0">
<td>
<span t-field="move_line.product_id"/>
<!-- this is an annoying workaround for the multiple types of descriptions (often auto-filled) that we do not want to print -->
<!-- this makes it so we can pre-filter the descriptions in inherited templates since we cannot extend the standard "if" condition -->
<!-- let's agree that pre-filtered descriptions will be set to "" -->
<t t-if="not description and description != ''">
<t t-set="description" t-value="move_line.move_id.description_picking"/>
</t>
<p t-if="description !='' and description != move_line.product_id.name">
<span t-esc="description"/>
</p>
</td>
<t t-if="has_serial_number" name="move_line_lot">
<td>
<span t-field="move_line.lot_id.name"/>
</td>
</t>
<td class="text-center" name="move_line_lot_qty_done">
<span t-field="move_line.qty_done"/>
<span t-field="move_line.product_uom_id"/>
</td>
</t>
</t>
</xpath>
</data>
Stock Report Delivery Kit Sections¶
Sequence In Table¶
ID: mint_system.stock.stock_report_delivery_kit_sections.sequence_in_table
Inherit ID: stock.stock_report_delivery_kit_sections
<data priority="50">
<xpath expr="//t[@t-set='kit_move_lines']" position="before">
<span t-set="index" t-value="1"/>
</xpath>
</data>
Stock Report Delivery Package Section Line¶
Add Package Info¶
ID: mint_system.stock.stock_report_delivery_package_section_line.add_package_info
Inherit ID: stock.stock_report_delivery_package_section_line
<data priority="50">
<xpath expr="//td[@name='package_info']" position="inside">
<t t-if="package.package_type_id.display_name">
<span>(</span><span t-field="package.package_type_id.display_name"/><span>)</span>
</t>
</xpath>
</data>
Add Type¶
ID: mint_system.stock.stock_report_delivery_package_section_line.add_type
Inherit ID: stock.stock_report_delivery_package_section_line
<data priority="50">
<xpath expr="/t/tr/td/span" position="before">
<strong>Package: </strong>
<span t-field="package.packaging_id.display_name"/>
<strong>, </strong>
<span t-field="package.packaging_id.packaging_length"/>
<strong> cm x </strong>
<span t-field="package.packaging_id.width"/>
<strong> cm x </strong>
<span t-field="package.packaging_id.height"/>
<strong> cm</strong>
<strong> (L x W x H), </strong>
</xpath>
</data>
Set Color¶
ID: mint_system.stock.stock_report_delivery_package_section_line.set_color
Inherit ID: stock.stock_report_delivery_package_section_line
<data priority="50">
<xpath expr="/t/tr/td" position="attributes">
<attribute name="class" separator=" " add="text-800"/>
</xpath>
</data>
Style Lapp¶
ID: mint_system.stock.stock_report_delivery_package_section_line.style_lapp
Inherit ID: stock.stock_report_delivery_package_section_line
<data priority="60">
<xpath expr="//td[@name='package_info']/.." position="attributes">
<attribute name="t-att-class"/>
<attribute name="style">font-weight: bold</attribute>
</xpath>
</data>
View Location Form¶
Show Barcode¶
ID: mint_system.stock.view_location_form.show_barcode
Inherit ID: stock.view_location_form
<data priority="50">
<xpath expr="//group[@name='additional_info']//field[@name='replenish_location']" position="after">
<field name="barcode"/>
</xpath>
</data>
Show Id¶
ID: mint_system.stock.view_location_form.show_id
Inherit ID: stock.view_location_form
<data priority="50">
<xpath expr="//group[@name='additional_info']//field[@name='replenish_location']" position="after">
<field name="id"/>
</xpath>
</data>
View Move Form¶
Enable Edit And Create¶
ID: mint_system.stock.view_move_form.enable_edit_and_create
Inherit ID: stock.view_move_form
<data priority="50">
<form position="attributes">
<attribute name="create">1</attribute>
<attribute name="edit">1</attribute>
</form>
</data>
Show Immediate Transfer¶
ID: mint_system.stock.view_move_form.show_immediate_transfer
Inherit ID: stock.view_move_form
<data priority="50">
<field name="move_type" position="after">
<field name="immediate_transfer"/>
</field>
</data>
Show Locations¶
ID: mint_system.stock.view_move_form.show_locations
Inherit ID: stock.view_move_form
<data priority="50">
<xpath expr="//field[@name='move_ids_without_package']//field[@name='product_id']" position="after">
<field name="location_id"/>
<field name="location_dest_id"/>
</xpath>
</data>
Show Lot Ids¶
ID: mint_system.stock.view_move_form.show_lot_ids
Inherit ID: stock.view_move_form
<data priority="50">
<field name="move_dest_ids" position="after">
<field name="lot_ids"/>
</field>
</data>
Show Move Finished Ids¶
ID: mint_system.stock.view_move_form.show_move_finished_ids
Inherit ID: stock.view_move_form
<data priority="50">
<xpath expr="//field[@name='procure_method']" position="after">
<field name="move_finished_ids"/>
</xpath>
</data>
Show Move Lines¶
ID: mint_system.stock.view_move_form.show_move_lines
Inherit ID: stock.view_move_form
<data priority="50">
<group name="origin_grp" position="before">
<group name="move_lines">
<field name="move_line_ids">
<tree>
<field name="date"/>
<field name="reference"/>
<field name="lot_id"/>
<field name="qty_done"/>
<field name="state"/>
</tree>
</field>
</group>
</group>
</data>
Show Order Finished Lot Ids¶
ID: mint_system.stock.view_move_form.show_order_finished_lot_ids
Inherit ID: stock.view_move_form
<data priority="50">
<field name="move_dest_ids" position="after">
<field name="order_finished_lot_ids"/>
</field>
</data>
Show Packaging¶
ID: mint_system.stock.view_move_form.show_packaging
Inherit ID: stock.view_move_form
<data priority="50">
<field name="name" position="before">
<field name="product_packaging"/>
</field>
</data>
Show Partner¶
ID: mint_system.stock.view_move_form.show_partner
Inherit ID: stock.view_move_form
<data priority="50">
<xpath expr="//field[@name='move_ids_without_package']//field[@name='product_id']" position="after">
<field name="partner_id"/>
</xpath>
</data>
Show Picking Code¶
ID: mint_system.stock.view_move_form.show_picking_code
Inherit ID: stock.view_move_form
<data priority="50">
<field name="origin" position="after">
<field name="picking_code"/>
</field>
</data>
Show Picking Id¶
ID: mint_system.stock.view_move_form.show_picking_id
Inherit ID: stock.view_move_form
<data priority="50">
<field name="origin" position="after">
<field name="picking_id"/>
</field>
</data>
Show Production¶
ID: mint_system.stock.view_move_form.show_production
Inherit ID: stock.view_move_form
<data priority="50">
<xpath expr="//field[@name='procure_method']" position="after">
<field name="production_id"/>
</xpath>
</data>
Show Quantity Done¶
ID: mint_system.stock.view_move_form.show_quantity_done
Inherit ID: stock.view_move_form
<data priority="50">
<field name="name" position="before">
<field name="quantity_done"/>
</field>
</data>
Show Reservation Date¶
ID: mint_system.stock.view_move_form.show_reservation_date
Inherit ID: stock.view_move_form
<data priority="50">
<field name="date_deadline" position="after">
<field name="reservation_date"/>
</field>
</data>
Show Stock Valuation Layer Ids¶
ID: mint_system.stock.view_move_form.show_stock_valuation_layer_ids
Inherit ID: stock.view_move_form
<data priority="50">
<field name="move_dest_ids" position="after">
<field name="stock_valuation_layer_ids"/>
</field>
</data>
View Move Line Form¶
Enable Edit And Create¶
ID: mint_system.stock.view_move_line_form.enable_edit_and_create
Inherit ID: stock.view_move_line_form
<data priority="50">
<form position="attributes">
<attribute name="create">1</attribute>
<attribute name="edit">1</attribute>
</form>
</data>
Show Move Id¶
ID: mint_system.stock.view_move_line_form.show_move_id
Inherit ID: stock.view_move_line_form
<data priority="50">
<field name="origin" position="after">
<field name="move_id"/>
</field>
</data>
Show Product Qty¶
ID: mint_system.stock.view_move_line_form.show_product_qty
Inherit ID: stock.view_move_line_form
<data priority="50">
<field name="lot_id" position="before">
<field name="product_qty"/>
</field>
</data>
View Move Line Tree¶
Enable Create¶
ID: mint_system.stock.view_move_line_tree.enable_create
Inherit ID: stock.view_move_line_tree
<data priority="50">
<tree position="attributes">
<attribute name="create">1</attribute>
</tree>
</data>
View Move Search¶
Filter Wip¶
ID: mint_system.stock.view_move_search.filter_wip
Inherit ID: stock.view_move_search
<data priority="50">
<filter name="future" position="after">
<filter string="WIP" name="wip" domain="[('location_dest_id', '=', 15), ('state', 'in', ['assigned', 'confirmed', 'waiting']), ('picked', '=', True)]"/>
</filter>
</data>
View Move Tree¶
Add Partner¶
ID: mint_system.stock.view_move_tree.add_partner
Inherit ID: stock.view_move_tree
<data priority="50">
<field name="location_dest_id" position="after">
<field name="partner_id" optional="hide"/>
</field>
</data>
Add Picking Partner¶
ID: mint_system.stock.view_move_tree.add_picking_partner
Inherit ID: stock.view_move_tree
<data priority="50">
<field name="location_dest_id" position="after">
<field name="picking_partner_id" optional="hide"/>
</field>
</data>
Enable Create¶
ID: mint_system.stock.view_move_tree.enable_create
Inherit ID: stock.view_move_tree
<data priority="50">
<tree position="attributes">
<attribute name="create">1</attribute>
</tree>
</data>
Show Create Details¶
ID: mint_system.stock.view_move_tree.show_create_details
Inherit ID: stock.view_move_tree
<data priority="50">
<field name="date" position="after">
<field name="create_date" optional="hide"/>
</field>
</data>
Show Date¶
ID: mint_system.stock.view_move_tree.show_date
Inherit ID: stock.view_move_tree
<data priority="50">
<field name="date" position="attributes">
<attribute name="groups"/>
</field>
</data>
Show Optional¶
ID: mint_system.stock.view_move_tree.show_optional
Inherit ID: stock.view_move_tree
<data priority="50">
<field name="product_uom_qty" position="attributes">
<attribute name="optional">hide</attribute>
</field>
</data>
Show Reservation Date¶
ID: mint_system.stock.view_move_tree.show_reservation_date
Inherit ID: stock.view_move_tree
<data priority="50">
<field name="location_dest_id" position="after">
<field name="reservation_date" optional="hide"/>
</field>
</data>
Sort Date¶
ID: mint_system.stock.view_move_tree.sort_date
Inherit ID: stock.view_move_tree
<data priority="50">
<tree position="attributes">
<attribute name="default_order">date desc</attribute>
</tree>
</data>
X Operation Qty¶
ID: mint_system.stock.view_move_tree.x_operation_qty
Inherit ID: stock.view_move_tree
<data priority="50">
<field name="product_uom_qty" position="after">
<field name="x_operation_qty" sum="Inventar Total"/>
</field>
</data>
X Picking Partner¶
ID: mint_system.stock.view_move_tree.x_picking_partner
Inherit ID: stock.view_move_tree
<data priority="50">
<field name="location_dest_id" position="after">
<field name="x_picking_partner_id" optional="hide"/>
</field>
</data>
View Picking Form¶
Add Price Total¶
ID: mint_system.stock.view_picking_form.add_price_total
Inherit ID: stock.view_picking_form
<data priority="50">
<field name="picked" position="after">
<field name="price_total"/>
</field>
</data>
Add Price Unit¶
ID: mint_system.stock.view_picking_form.add_price_unit
Inherit ID: stock.view_picking_form
<data priority="50">
<field name="picked" position="after">
<field name="price_unit"/>
</field>
</data>
Hide Fields¶
ID: mint_system.stock.view_picking_form.hide_fields
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//button[@name='button_validate']" position="attributes">
<attribute name="attrs">{'invisible': ['|', '|', ('state', 'in', ('waiting','confirmed')), ('show_validate', '=', False), ('started', '=', False)]}</attribute>
</xpath>
</data>
Modify Invisible Button Validate¶
ID: mint_system.stock.view_picking_form.modify_invisible_button_validate
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//button[@name='button_validate']" position="attributes">
<attribute name="attrs">{'invisible': ['|', '|', ('state', 'in', ('waiting','confirmed')), ('show_validate', '=', False), ('started', '=', False)]}</attribute>
</xpath>
</data>
Modify Readonly Carrier Id¶
ID: mint_system.stock.view_picking_form.modify_readonly_carrier_id
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//field[@name='carrier_id']" position="attributes">
<attribute name="readonly">False</attribute>
</xpath>
</data>
Modify Readonly Date Done¶
ID: mint_system.stock.view_picking_form.modify_readonly_date_done
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//field[@name='date_done']" position="attributes">
<attribute name="attrs">{'invisible': [('state', '!=', 'done')], 'readonly': [('is_locked', '=', True)]}</attribute>
</xpath>
</data>
Modify Readonly Partner Id¶
ID: mint_system.stock.view_picking_form.modify_readonly_partner_id
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//field[@name='partner_id']" position="attributes">
<attribute name="attrs">{'readonly': ['|',('is_locked', '=', True), ('state', 'in' ,[('done', 'cancel')])]}</attribute>
</xpath>
</data>
Modify Readonly User Id¶
ID: mint_system.stock.view_picking_form.modify_readonly_user_id
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//field[@name='user_id']" position="attributes">
<attribute name="attrs">{'readonly': ['|',('is_locked', '=', True), ('state', 'in' ,[('done', 'cancel')])]}</attribute>
</xpath>
</data>
Move Detailed Operations Page¶
ID: mint_system.stock.view_picking_form.move_detailed_operations_page
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//page[@name='detailed_operations']" position="before">
<xpath expr="//page[@name='operations']" position="move"/>
</xpath>
</data>
Scheduled Date Readonly¶
ID: mint_system.stock.view_picking_form.scheduled_date_readonly
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//field[@name='scheduled_date']" position="attributes">
<attribute name="attrs">{'readonly': True}</attribute>
</xpath>
</data>
Sequence Handle¶
ID: mint_system.stock.view_picking_form.sequence_handle
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//field[@name='display_assign_serial']" position="after">
<field name="sequence" widget="handle"/>
</xpath>
</data>
Show Date¶
ID: mint_system.stock.view_picking_form.show_date
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//field[@name='date']" position="attributes">
<attribute name="invisible">0</attribute>
</xpath>
</data>
Show Details Visible¶
ID: mint_system.stock.view_picking_form.show_details_visible
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//button[@name='action_show_details']" position="attributes">
<attribute name="attrs"/>
</xpath>
</data>
Show Move Line Ids¶
ID: mint_system.stock.view_picking_form.show_move_line_ids
Inherit ID: stock.view_picking_form
<data priority="50">
<field name="backorder_id" position="after">
<field name="move_line_ids"/>
</field>
</data>
Show Weight¶
ID: mint_system.stock.view_picking_form.show_weight
Inherit ID: stock.view_picking_form
<data priority="50">
<field name="product_uom" position="after">
<field name="weight" optional="hide"/>
</field>
</data>
X As4 Import¶
ID: mint_system.stock.view_picking_form.x_as4_import
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//group[@name='other_infos']" position="inside">
<field name="x_as4_import"/>
</xpath>
</data>
X Autocomplete¶
ID: mint_system.stock.view_picking_form.x_autocomplete
Inherit ID: stock.view_picking_form
<data priority="50">
<field name="date_deadline" position="before">
<field name="x_autocomplete" attrs="{'invisible': ['|', ('picking_type_code', '!=', 'incoming'), ('state', '=', 'done')]}"/>
</field>
</data>
X Client Order Ref¶
ID: mint_system.stock.view_picking_form.x_client_order_ref
Inherit ID: stock.view_picking_form
<data priority="50">
<field name="origin" position="after">
<field name="x_client_order_ref"/>
</field>
</data>
X Count Boxes¶
ID: mint_system.stock.view_picking_form.x_count_boxes
Inherit ID: stock.view_picking_form
<data priority="50">
<field name="product_uom" position="after">
<field name="x_count_boxes" optional="show"/>
</field>
</data>
X Date Done¶
ID: mint_system.stock.view_picking_form.x_date_done
Inherit ID: stock.view_picking_form
<data priority="50">
<field name="date_deadline" position="before">
<field name="x_date_done"/>
</field>
</data>
X Date Order¶
ID: mint_system.stock.view_picking_form.x_date_order
Inherit ID: stock.view_picking_form
<data priority="50">
<field name="origin" position="after">
<field name="x_date_order"/>
</field>
</data>
X Incoterm¶
ID: mint_system.stock.view_picking_form.x_incoterm
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//field[@name='payment_term_id']" position="after">
<field name="x_sale_id_incoterm"/>
<field name="x_incoterm" invisible="x_sale_id_incoterm"/>
</xpath>
</data>
X Label Qty¶
ID: mint_system.stock.view_picking_form.x_label_qty
Inherit ID: stock.view_picking_form
<data priority="50">
<field name="product_uom" position="after">
<field name="x_label_qty" optional="show"/>
</field>
</data>
X Name¶
ID: mint_system.stock.view_picking_form.x_name
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//label[@for='partner_id']/.." position="before">
<field name="x_name"/>
</xpath>
</data>
X Payment State¶
ID: mint_system.stock.view_picking_form.x_payment_state
Inherit ID: stock.view_picking_form
<data priority="50">
<xpath expr="//field[@name='product_uom_qty']" position="before">
<field name="x_payment_state"/>
</xpath>
</data>
X Vst¶
ID: mint_system.stock.view_picking_form.x_vst
Inherit ID: stock.view_picking_form
View Picking Internal Search¶
Filter Groupby Expected Date¶
ID: mint_system.stock.view_picking_internal_search.filter_groupby_expected_date
Inherit ID: stock.view_picking_internal_search
<data priority="50">
<filter name="expected_date" position="after">
<filter string="Scheduled Date by Day" name="expected_date_day" domain="[]" context="{'group_by': 'scheduled_date:day'}"/>
</filter>
</data>
Filter X Client Order Ref¶
ID: mint_system.stock.view_picking_internal_search.filter_x_client_order_ref
Inherit ID: stock.view_picking_internal_search
<data priority="50">
<filter name="starred" position="after">
<field string="Bestellnummer Kunde" name="x_client_order_ref" filter_domain="[('x_client_order_ref', 'ilike', self)]"/>
</filter>
</data>
View Production Lot Form¶
X Autoremove¶
ID: mint_system.stock.view_production_lot_form.x_autoremove
Inherit ID: stock.view_production_lot_form
<data priority="50">
<field name="removal_date" position="after">
<field name="x_autoremove"/>
</field>
</data>
X Device Name¶
ID: mint_system.stock.view_production_lot_form.x_device_name
Inherit ID: stock.view_production_lot_form
<?xml version="1.0" encoding="utf-8"?>
<data priority="50">
<field name="ref" position="after">
<field name="x_device_name"/>
</field>
</data>
X Forcepoint¶
ID: mint_system.stock.view_production_lot_form.x_forcepoint
Inherit ID: stock.view_production_lot_form
<data priority="50">
<field name="ref" position="after">
<field name="x_forcepoint_pos"/>
<field name="x_forcepoint_pol"/>
</field>
</data>
X Hostname¶
ID: mint_system.stock.view_production_lot_form.x_hostname
Inherit ID: stock.view_production_lot_form
<?xml version="1.0" encoding="utf-8"?>
<data priority="50">
<field name="ref" position="after">
<field name="x_hostname"/>
</field>
</data>
X Ip Address¶
ID: mint_system.stock.view_production_lot_form.x_ip_address
Inherit ID: stock.view_production_lot_form
<?xml version="1.0" encoding="utf-8"?>
<data priority="50">
<field name="ref" position="after">
<field name="x_ip_address"/>
</field>
</data>
X Location¶
ID: mint_system.stock.view_production_lot_form.x_location
Inherit ID: stock.view_production_lot_form
<?xml version="1.0" encoding="utf-8"?>
<data priority="50">
<field name="ref" position="after">
<field name="x_location"/>
</field>
</data>
X Managed Service¶
ID: mint_system.stock.view_production_lot_form.x_managed_service
Inherit ID: stock.view_production_lot_form
<?xml version="1.0" encoding="utf-8"?>
<data priority="50">
<field name="ref" position="after">
<field name="x_managed_service"/>
</field>
</data>
X Product Weight¶
ID: mint_system.stock.view_production_lot_form.x_product_weight
Inherit ID: stock.view_production_lot_form
<data priority="50">
<xpath expr="//group[@name='main_group']//field[@name='company_id']" position="after">
<field name="x_product_weight"/>
</xpath>
</data>
X Production Id¶
ID: mint_system.stock.view_production_lot_form.x_production_id
Inherit ID: stock.view_production_lot_form
<data priority="50">
<xpath expr="//group[@name='main_group']/group/div" position="after">
<field name="x_production_id" readonly="1"/>
</xpath>
</data>
X Units On Lot¶
ID: mint_system.stock.view_production_lot_form.x_units_on_lot
Inherit ID: stock.view_production_lot_form
<data priority="50">
<xpath expr="//group[@name='main_group']/group/div" position="after">
<field name="x_units_on_lot" readonly="1"/>
</xpath>
</data>
X Weight Uom¶
ID: mint_system.stock.view_production_lot_form.x_weight_uom
Inherit ID: stock.view_production_lot_form
<data priority="50">
<xpath expr="//group[@name='main_group']/group/div" position="after">
<field name="x_weight_uom" readonly="1"/>
</xpath>
</data>
X Weight Uom Name¶
ID: mint_system.stock.view_production_lot_form.x_weight_uom_name
Inherit ID: stock.view_production_lot_form
<data priority="50">
<xpath expr="//group[@name='main_group']//field[@name='company_id']" position="after">
<field name="x_weight_uom_name"/>
</xpath>
</data>
View Production Lot Tree¶
Show Qty¶
ID: mint_system.stock.view_production_lot_tree.show_qty
Inherit ID: stock.view_production_lot_tree
<data priority="50">
<field name="product_id" position="after">
<field name="product_qty"/>
</field>
</data>
View Quant Package Form¶
X Note¶
ID: mint_system.stock.view_quant_package_form.x_note
Inherit ID: stock.view_quant_package_form
<data priority="50">
<xpath expr="//group/group/field[@name='location_id']" position="after">
<field name="x_note"/>
</xpath>
</data>
View Stock Move Line Detailed Operation Tree¶
Add Lot Id¶
ID: mint_system.stock.view_stock_move_line_detailed_operation_tree.add_lot_id
Inherit ID: stock.view_stock_move_line_detailed_operation_tree
<data priority="50">
<field name="quant_id" position="after">
<field name="lot_id"/>
</field>
</data>
Lot Id Domain Positive Qty¶
ID: mint_system.stock.view_stock_move_line_detailed_operation_tree.lot_id_domain_positive_qty
Inherit ID: stock.view_stock_move_line_detailed_operation_tree
<data priority="50">
<field name="lot_id" position="attributes">
<attribute name="domain">[('product_id', '=', product_id), ('company_id', '=', company_id), ('product_qty', '>', 0)]</attribute>
</field>
</data>
View Stock Move Line Operation Tree¶
Edit Reserved Qty¶
ID: mint_system.stock.view_stock_move_line_operation_tree.edit_reserved_qty
Inherit ID: stock.view_stock_move_line_operation_tree
<data priority="50">
<field name="product_uom_qty" position="attributes">
<attribute name="readonly">0</attribute>
</field>
</data>
Lot Id Domain Positive Qty¶
ID: mint_system.stock.view_stock_move_line_operation_tree.lot_id_domain_positive_qty
Inherit ID: stock.view_stock_move_line_operation_tree
<data priority="50">
<field name="lot_id" position="attributes">
<attribute name="domain">[('product_id', '=', parent.product_id), ('company_id', '=', company_id), ('product_qty', '>', 0)]</attribute>
</field>
</data>
View Stock Quant Form Editable¶
Edit Enable¶
ID: mint_system.stock.view_stock_quant_form_editable.edit_enable
Inherit ID: stock.view_stock_quant_form_editable
<data priority="50">
<form position="attributes">
<attribute name="edit">true</attribute>
</form>
</data>
View Stock Quant Package Form¶
Add Estimated Pack Weight Kg¶
ID: mint_system.stock.view_stock_quant_package_form.add_estimated_pack_weight_kg
Inherit ID: stock.view_stock_quant_package_form
<data priority="50">
<xpath expr="//span[@class='text-muted'][1]" position="replace">
<span class="text-muted">(computed: <field name="estimated_pack_weight_kg" nolabel="1"/>
</span>
</xpath>
</data>
View Stock Quant Tree¶
Enable Delete¶
ID: mint_system.stock.view_stock_quant_tree.enable_delete
Inherit ID: stock.view_stock_quant_tree
<data priority="50">
<tree position="attributes">
<attribute name="delete">1</attribute>
</tree>
</data>
Show Reserved Quantity¶
ID: mint_system.stock.view_stock_quant_tree.show_reserved_quantity
Inherit ID: stock.view_stock_quant_tree
<data priority="50">
<field name="available_quantity" position="after">
<field name="reserved_quantity"/>
</field>
</data>
View Stock Quant Tree Editable¶
Enable Delete¶
ID: mint_system.stock.view_stock_quant_tree_editable.enable_delete
Inherit ID: stock.view_stock_quant_tree_editable
<data priority="50">
<tree position="attributes">
<attribute name="delete">1</attribute>
</tree>
</data>
Show Reserved Quantity¶
ID: mint_system.stock.view_stock_quant_tree_editable.show_reserved_quantity
Inherit ID: stock.view_stock_quant_tree_editable
<data priority="50">
<field name="inventory_quantity" position="after">
<field name="reserved_quantity"/>
</field>
</data>
X Expiration Date¶
ID: mint_system.stock.view_stock_quant_tree_editable.x_expiration_date
Inherit ID: stock.view_stock_quant_tree_editable
<data priority="50">
<field name="removal_date" position="after">
<field name="x_expiration_date" optional="show"/>
</field>
</data>
View Warehouse Orderpoint Tree Editable¶
Show Lead Days Date¶
ID: mint_system.stock.view_warehouse_orderpoint_tree_editable.show_lead_days_date
Inherit ID: stock.view_warehouse_orderpoint_tree_editable
<data priority="50">
<field name="json_lead_days_popover" position="after">
<field name="lead_days_date"/>
</field>
</data>
Vpicktree¶
Add Weight Uom Name¶
ID: mint_system.stock.vpicktree.add_weight_uom_name
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='weight']" position="replace">
<field name="weight"/>
<field name="weight_uom_name"/>
</xpath>
</data>
Default Order Name¶
ID: mint_system.stock.vpicktree.default_order_name
Inherit ID: stock.vpicktree
<data priority="50">
<tree position="attributes">
<attribute name="default_order">name desc</attribute>
</tree>
</data>
Default Order Scheduled Date¶
ID: mint_system.stock.vpicktree.default_order_scheduled_date
Inherit ID: stock.vpicktree
<data priority="50">
<list position="attributes">
<attribute name="default_order">scheduled_date desc</attribute>
</list>
</data>
Format Date Deadline¶
ID: mint_system.stock.vpicktree.format_date_deadline
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='date_deadline']" position="attributes">
<attribute name="widget">date</attribute>
</xpath>
</data>
Format Scheduled Date¶
ID: mint_system.stock.vpicktree.format_scheduled_date
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='scheduled_date']" position="attributes">
<attribute name="widget">date</attribute>
</xpath>
</data>
Modify Invisible Scheduled Date¶
ID: mint_system.stock.vpicktree.modify_invisible_scheduled_date
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='scheduled_date']" position="attributes">
<attribute name="attrs">{'invisible': [('state', 'in' , 'cancel')]}</attribute>
</xpath>
</data>
Show Delivery Note¶
ID: mint_system.stock.vpicktree.show_delivery_note
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='partner_id']" position="after">
<field name="delivery_note" optional="show"/>
</xpath>
</data>
Started¶
ID: mint_system.stock.vpicktree.started
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='origin']" position="after">
<field name="started"/>
</xpath>
</data>
Weight Sum¶
ID: mint_system.stock.vpicktree.weight_sum
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='weight']" position="attributes">
<attribute name="sum"/>
</xpath>
</data>
X Client Order Ref¶
ID: mint_system.stock.vpicktree.x_client_order_ref
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='origin']" position="after">
<field name="client_order_ref" optional="show"/>
</xpath>
</data>
X Date Done¶
ID: mint_system.stock.vpicktree.x_date_done
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='scheduled_date']" position="after">
<field name="x_date_done"/>
</xpath>
</data>
X Date Order¶
ID: mint_system.stock.vpicktree.x_date_order
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='origin']" position="after">
<field name="x_date_order" optional="show"/>
</xpath>
</data>
X Origin¶
ID: mint_system.stock.vpicktree.x_origin
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='x_origin']" position="replace">
<field name="x_origin"/>
</xpath>
</data>
X Vst¶
ID: mint_system.stock.vpicktree.x_vst
Inherit ID: stock.vpicktree
<data priority="50">
<xpath expr="//field[@name='origin']" position="after">
<field name="x_vst"/>
</xpath>
</data>