diff --git a/location.py b/location.py index 98d624372c..eecdcc7da2 100644 --- a/location.py +++ b/location.py @@ -185,6 +185,7 @@ class OpenProduct(Wizard): model_data_ids = model_data_obj.search(cursor, user, [ ('fs_id', '=', 'act_product_by_location'), ('module', '=', 'stock'), + ('inherit', '=', False), ], limit=1, context=context) model_data = model_data_obj.browse(cursor, user, model_data_ids[0], context=context) diff --git a/product.py b/product.py index 80e15c7211..be4dd956ea 100644 --- a/product.py +++ b/product.py @@ -363,6 +363,7 @@ class OpenLocation(Wizard): model_data_ids = model_data_obj.search(cursor, user, [ ('fs_id', '=', 'act_location_quantity_tree'), ('module', '=', 'stock'), + ('inherit', '=', False), ], limit=1, context=context) model_data = model_data_obj.browse(cursor, user, model_data_ids[0], context=context)