Skip to content

Commit

Permalink
revert unneded context addition
Browse files Browse the repository at this point in the history
  • Loading branch information
LoisRForgeFlow committed Jul 4, 2019
1 parent 933ffb0 commit cedf497
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mrp_multi_level/models/product_mrp_area.py
Expand Up @@ -149,8 +149,7 @@ def _compute_qty_available(self):

@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 = {
Expand Down

0 comments on commit cedf497

Please sign in to comment.