Merge lp:~dorian-kemps/unifield-server/US-6583 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 5520
Proposed branch: lp:~dorian-kemps/unifield-server/US-6583
Merge into: lp:unifield-server
Diff against target: 16 lines (+2/-2)
1 file modified
bin/addons/product_attributes/product_attributes.py (+2/-2)
To merge this branch: bzr merge lp:~dorian-kemps/unifield-server/US-6583
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+373878@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bin/addons/product_attributes/product_attributes.py'
--- bin/addons/product_attributes/product_attributes.py 2019-09-17 09:21:24 +0000
+++ bin/addons/product_attributes/product_attributes.py 2019-10-09 13:13:09 +0000
@@ -1552,10 +1552,10 @@
1552 ('order_id.state', 'not in', ['draft', 'done', 'cancel'])], context=context)1552 ('order_id.state', 'not in', ['draft', 'done', 'cancel'])], context=context)
15531553
1554 # Check if the product is in stock picking1554 # Check if the product is in stock picking
1555 # All stock moves in a stock.picking not draft/cancel/done or all stock moves in a shipment not delivered/done/cancel1555 # All stock moves in a stock.picking not draft/cancel/done/delivered or all stock moves in a shipment not delivered/done/cancel
1556 has_move_line = move_obj.search(cr, uid, [('product_id', '=', product.id),1556 has_move_line = move_obj.search(cr, uid, [('product_id', '=', product.id),
1557 ('picking_id', '!=', False),1557 ('picking_id', '!=', False),
1558 '|', ('picking_id.state', 'not in', ['draft', 'done', 'cancel']),1558 '|', ('picking_id.state', 'not in', ['draft', 'done', 'delivered', 'cancel']),
1559 '&', ('picking_id.shipment_id', '!=', False),1559 '&', ('picking_id.shipment_id', '!=', False),
1560 ('picking_id.shipment_id.state', 'not in', ['delivered', 'done', 'cancel']),1560 ('picking_id.shipment_id.state', 'not in', ['delivered', 'done', 'cancel']),
1561 ], context=context)1561 ], context=context)

Subscribers

People subscribed via source and target branches