[FIX] purchase: Procurement rule Buy missing when installing Purchase
When installing Purchase, the procurement rule Buy for My Company, Chicago was missing. opw:1835411
This commit is contained in:
@@ -6,3 +6,6 @@
|
||||
warehouse = self.browse(ref('stock.' + wh_ref))
|
||||
#Force the rewriting of route and rule
|
||||
warehouse.write({'buy_to_resupply': True})
|
||||
partner_id = ref('stock.res_partner_company_1')
|
||||
warehouse = self.search([('partner_id', '=', partner_id)])
|
||||
warehouse.write({'buy_to_resupply': True})
|
||||
|
||||
Reference in New Issue
Block a user