report_stock: print default_code if desired
parent
b219dc20f1
commit
eb0f62d2cb
|
|
@ -209,6 +209,12 @@
|
||||||
</p>
|
</p>
|
||||||
<p t-if="move_line.product_id.can_be_sold_unconfigured">
|
<p t-if="move_line.product_id.can_be_sold_unconfigured">
|
||||||
<span t-field="move_line.move_id.name"/>
|
<span t-field="move_line.move_id.name"/>
|
||||||
|
<t t-if="move_line.product_id.default_code and move_line.product_id.material_type_id.print_default_code">
|
||||||
|
<strong>
|
||||||
|
<span t-field="move_line.product_id.default_code"/>
|
||||||
|
</strong>
|
||||||
|
<br/>
|
||||||
|
</t>
|
||||||
</p>
|
</p>
|
||||||
<p t-if="o.picking_type_code == 'outgoing'">
|
<p t-if="o.picking_type_code == 'outgoing'">
|
||||||
<span t-field="move_line.product_id.sudo().description_pickingout"/>
|
<span t-field="move_line.product_id.sudo().description_pickingout"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue