mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
revert unneded context addition
This commit is contained in:
@@ -149,8 +149,7 @@ class ProductMRPArea(models.Model):
|
|||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
def _compute_supply_method(self):
|
def _compute_supply_method(self):
|
||||||
group_obj = self.env['procurement.group'].with_context(
|
group_obj = self.env['procurement.group']
|
||||||
no_auto_create_group=True)
|
|
||||||
for rec in self:
|
for rec in self:
|
||||||
proc_loc = rec.location_proc_id or rec.mrp_area_id.location_id
|
proc_loc = rec.location_proc_id or rec.mrp_area_id.location_id
|
||||||
values = {
|
values = {
|
||||||
|
|||||||
Reference in New Issue
Block a user