[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:
ron@tinyerp.com 2011-09-20 14:32:22 +05:30
parent e7fb72e30e
commit 3ac0b6a7b9
1 changed files with 1 additions and 0 deletions

View File

@ -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',