[FIX]: Selling a product with phantom BOM ignores chained locations and procurement gets stuck
lp bug: https://launchpad.net/bugs/700154 fixed bzr revid: ksa@tinyerp.co.in-20110301101041-q0zfe5rlque3q6zs
This commit is contained in:
+2
-1
@@ -95,9 +95,10 @@ class StockMove(osv.osv):
|
||||
'location_id': move.location_dest_id.id,
|
||||
'auto_validate': True,
|
||||
'picking_id': False,
|
||||
'state': 'waiting'
|
||||
'state': 'confirmed'
|
||||
})
|
||||
for m in procurement_obj.search(cr, uid, [('move_id','=',move.id)], context):
|
||||
wf_service.trg_validate(uid, 'procurement.order', m, 'button_confirm', cr)
|
||||
wf_service.trg_validate(uid, 'procurement.order', m, 'button_wait_done', cr)
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user