revert unneded context addition

This commit is contained in:
Lois Rilo
2019-07-04 15:39:32 +02:00
committed by Lois Rilo
parent 830237f7a3
commit 6119ef5190

View File

@@ -149,8 +149,7 @@ class ProductMRPArea(models.Model):
@api.multi
def _compute_supply_method(self):
group_obj = self.env['procurement.group'].with_context(
no_auto_create_group=True)
group_obj = self.env['procurement.group']
for rec in self:
proc_loc = rec.location_proc_id or rec.mrp_area_id.location_id
values = {