print 'default_code' according to setting in 'material_type'
(offer/order/invoice)develop
parent
6605232d1d
commit
44a67edb19
|
|
@ -171,7 +171,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right"/>
|
<td class="text-right"/>
|
||||||
<td class="text-left">
|
<td class="text-left">
|
||||||
<t t-if="invoice_line.product_id.default_code">
|
<t t-if="invoice_line.product_id.default_code and invoice_line.product_id.material_type_id.print_default_code">
|
||||||
<strong>
|
<strong>
|
||||||
<span t-field="invoice_line.product_id.default_code"/>
|
<span t-field="invoice_line.product_id.default_code"/>
|
||||||
</strong>
|
</strong>
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
</td>
|
</td>
|
||||||
<td rowspan="2" class="text-left">
|
<td rowspan="2" class="text-left">
|
||||||
<t t-if="order_line.product_id.default_code">
|
<t t-if="order_line.product_id.default_code and order_line.product_id.material_type_id.print_default_code">
|
||||||
<strong>
|
<strong>
|
||||||
<span t-field="order_line.product_id.default_code"/>
|
<span t-field="order_line.product_id.default_code"/>
|
||||||
</strong>
|
</strong>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue