[FIX] stock: Description for receptions are not being shown in Delivery Slip
Steps to reproduce - Create a product with a custom description for receptions - Create a purchase order - Open the resulting picking Shown behavior - Product name is shown, description for receptions isn't shown in the delivery slip report PS: Same scenario with a sale order opw:1879069
This commit is contained in:
@@ -59,7 +59,15 @@
|
||||
<tbody>
|
||||
<t t-set="lines" t-value="o.move_lines.filtered(lambda x: x.product_uom_qty)"/>
|
||||
<tr t-foreach="lines" t-as="move">
|
||||
<td><span t-field="move.product_id"/></td>
|
||||
<td>
|
||||
<span t-field="move.product_id"/>
|
||||
<p t-if="o.picking_type_code == 'outgoing'">
|
||||
<span t-field="move.product_id.sudo().description_pickingout"/>
|
||||
</p>
|
||||
<p t-if="o.picking_type_code == 'incoming'">
|
||||
<span t-field="move.product_id.sudo().description_pickingin"/>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="move.product_uom_qty"/>
|
||||
<span t-field="move.product_uom"/>
|
||||
|
||||
Reference in New Issue
Block a user