Skip to content

Commit

Permalink
[FIX] stock_ux: now origin description is searched in the sale line
Browse files Browse the repository at this point in the history
  • Loading branch information
vib-adhoc committed Jun 5, 2023
1 parent f3f839c commit 4e10293
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stock_ux/__manifest__.py
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Stock UX',
'version': "16.0.2.0.0",
'version': "16.0.2.1.0",
'category': 'Warehouse Management',
'sequence': 14,
'summary': '',
Expand Down
4 changes: 3 additions & 1 deletion stock_ux/views/report_deliveryslip.xml
Expand Up @@ -34,7 +34,9 @@
</xpath>
<xpath expr="//td[1]" position="after">
<td t-if="o.env['ir.config_parameter'].sudo().get_param('stock_ux.delivery_slip_use_origin') == 'True'">
<span t-field="move_line.move_id.name"/>
<p t-if="move_line.move_id.sale_line_id.name != move_line.product_id.name">
<span t-field="move_line.move_id.sale_line_id.name"/>
</p>
<p t-if="move_line.move_id.description_picking != move_line.product_id.name">
<span t-field="move_line.move_id.description_picking"/>
</p>
Expand Down

0 comments on commit 4e10293

Please sign in to comment.