mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[11.0][FIX] mrp_multi_level:
* remove duplicated fields in view * fix issue using this module together with procurement_auto_create_group.
This commit is contained in:
committed by
JasminSForgeFlow
parent
7b0dfc1f5b
commit
cb14d5516e
@@ -149,7 +149,8 @@ class ProductMRPArea(models.Model):
|
||||
|
||||
@api.multi
|
||||
def _compute_supply_method(self):
|
||||
group_obj = self.env['procurement.group']
|
||||
group_obj = self.env['procurement.group'].with_context(
|
||||
no_auto_create_group=True)
|
||||
for rec in self:
|
||||
proc_loc = rec.location_proc_id or rec.mrp_area_id.location_id
|
||||
values = {
|
||||
|
||||
@@ -37,8 +37,6 @@
|
||||
<field name="location_id"/>
|
||||
</group>
|
||||
<group name="settings">
|
||||
<field name="warehouse_id"/>
|
||||
<field name="location_id"/>
|
||||
<field name="calendar_id"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user