Skip to content

Commit

Permalink
[FIX]stock_ux:to compare the same "name" field as it is shown
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloPaezSheridan committed Jun 28, 2021
1 parent 9ea1fd3 commit d543520
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stock_ux/__manifest__.py
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Stock UX',
'version': '13.0.1.10.0',
'version': '13.0.1.11.0',
'category': 'Warehouse Management',
'sequence': 14,
'summary': '',
Expand Down
4 changes: 2 additions & 2 deletions stock_ux/views/report_deliveryslip.xml
Expand Up @@ -13,7 +13,7 @@
<xpath expr="//table[@name='stock_move_table']/tbody/tr/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.name"/>
<p t-if="move.description_picking != move.product_id.name">
<p t-if="move.description_picking != move.name">
<span t-field="move.description_picking"/>
</p>
</td>
Expand All @@ -24,7 +24,7 @@
<xpath expr="//table[@name='stock_move_line_table']/tbody/tr/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.description_picking != move_line.product_id.name">
<p t-if="move_line.move_id.description_picking != move_line.move_id.name">
<span t-field="move_line.move_id.description_picking"/>
</p>
</td>
Expand Down

0 comments on commit d543520

Please sign in to comment.