diff --git a/stock_available_base_exclude_location/models/product_product.py b/stock_available_base_exclude_location/models/product_product.py index 296d3d602..54a863059 100644 --- a/stock_available_base_exclude_location/models/product_product.py +++ b/stock_available_base_exclude_location/models/product_product.py @@ -44,13 +44,13 @@ class ProductProduct(models.Model): excluded_location_ids.ids, ) ], - domain_quant_loc, + domain_move_in_loc, ] ) domain_move_out_loc = expression.AND( [ [("location_id", "not in", excluded_location_ids.ids)], - domain_quant_loc, + domain_move_out_loc, ] ) return domain_quant_loc, domain_move_in_loc, domain_move_out_loc