[IMP] stock_account: add incoterm reference on delivery slip

Displays the Incoterm code and location on the delivery slip as it's
currently displayed in the purchase order report.

Part of task-3218314

Part-of: odoo/odoo#119381
This commit is contained in:
clesgow
2023-05-09 21:04:03 +02:00
parent d22705b956
commit ea14110052
@@ -6,6 +6,11 @@
<strong>Customer Reference:</strong>
<p t-field="o.sudo().sale_id.client_order_ref"/>
</div>
<div class="col-auto justify-content-end" t-if="o.sudo().sale_id.incoterm">
<strong>Incoterm:</strong>
<p t-if="o.sudo().sale_id.incoterm_location" t-out="'%s %s' % (o.sudo().sale_id.incoterm.code, o.sudo().sale_id.incoterm_location)"/>
<p t-else="" t-field="o.sudo().sale_id.incoterm.display_name"/>
</div>
</xpath>
</template>
</odoo>