[FIX] purchase, mrp: create buy/manufacture rules that belong to the warehouse
bzr revid: qdp-launchpad@openerp.com-20131023151912-adi1oa85rulzefkk
This commit is contained in:
parent
0fed4f9ff1
commit
34862f4b43
|
@ -204,6 +204,7 @@ class stock_warehouse(osv.osv):
|
|||
'action': 'manufacture',
|
||||
'picking_type_id': warehouse.int_type_id.id,
|
||||
'procure_method': 'make_to_order',
|
||||
'warehouse_id': warehouse.id,
|
||||
}
|
||||
|
||||
def create_routes(self, cr, uid, ids, warehouse, context=None):
|
||||
|
|
|
@ -103,6 +103,7 @@ class stock_warehouse(osv.osv):
|
|||
'action': 'buy',
|
||||
'picking_type_id': warehouse.in_type_id.id,
|
||||
'procure_method': 'make_to_order',
|
||||
'warehouse_id': warehouse.id,
|
||||
}
|
||||
|
||||
def create_routes(self, cr, uid, ids, warehouse, context=None):
|
||||
|
|
Loading…
Reference in New Issue