[IMP]Procurment: Fixed:when scheduler is run by admin all new PO of other company/warehouse is having wrong company (of admin) instead of respective
bzr revid: ron@tinyerp.com-20110920090222-np5er3i3q9onay07
This commit is contained in:
parent
e7fb72e30e
commit
3ac0b6a7b9
|
@ -254,6 +254,7 @@ class procurement_order(osv.osv):
|
|||
'date_planned': newdate.strftime('%Y-%m-%d'),
|
||||
'product_id': op.product_id.id,
|
||||
'product_qty': qty,
|
||||
'company_id': op.company_id.id,
|
||||
'product_uom': op.product_uom.id,
|
||||
'location_id': op.location_id.id,
|
||||
'procure_method': 'make_to_order',
|
||||
|
|
Loading…
Reference in New Issue