diff --git a/stock_demand_estimate_matrix/__manifest__.py b/stock_demand_estimate_matrix/__manifest__.py index b8f5ba467c0a..446e2df3ce08 100644 --- a/stock_demand_estimate_matrix/__manifest__.py +++ b/stock_demand_estimate_matrix/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Stock Demand Estimate Matrix", "summary": "Allows to create demand estimates.", - "version": "16.0.1.0.0", + "version": "17.0.1.0.0", "author": "ForgeFlow, Odoo Community Association (OCA)", "development_status": "Production/Stable", "website": "https://github.com/OCA/stock-logistics-warehouse", diff --git a/stock_demand_estimate_matrix/wizards/stock_demand_estimate_sheet.py b/stock_demand_estimate_matrix/wizards/stock_demand_estimate_sheet.py index cbebd7be371d..a54b8cc5461b 100644 --- a/stock_demand_estimate_matrix/wizards/stock_demand_estimate_sheet.py +++ b/stock_demand_estimate_matrix/wizards/stock_demand_estimate_sheet.py @@ -61,7 +61,7 @@ def _onchange_dates(self): for product in sheet.product_ids: for _range in ranges: estimate = estimates.filtered( - lambda x: ( + lambda x, _range=_range, product=product: ( x.date_range_id == _range and x.product_id == product ) )