Skip to content

Commit

Permalink
[FIX]stock_ux: now origin is search in sale line
Browse files Browse the repository at this point in the history
closes #373

Signed-off-by: Virginia Bonservizi <vib@adhoc.com.ar>
  • Loading branch information
jcadhoc committed May 4, 2023
1 parent 1978a33 commit f3f839c
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.1.0.0",
'version': "16.0.2.0.0",
'category': 'Warehouse Management',
'sequence': 14,
'summary': '',
Expand Down
4 changes: 3 additions & 1 deletion stock_ux/views/report_deliveryslip.xml
Expand Up @@ -12,7 +12,9 @@
</xpath>
<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.sale_line_id.name != move.product_id.name">
<span t-field="move.sale_line_id.name"/>
</p>
<p t-if="move.description_picking != move.product_id.name">
<span t-field="move.description_picking"/>
</p>
Expand Down

0 comments on commit f3f839c

Please sign in to comment.