From 2142cbab9f2de0f69f37e67ff168407d7f0f728c Mon Sep 17 00:00:00 2001 From: JasminSForgeFlow Date: Mon, 20 May 2024 12:11:46 +0530 Subject: [PATCH] [MIG] stock_demand_estimate_matrix: Migration to 17.0 --- stock_demand_estimate_matrix/__manifest__.py | 2 +- .../wizards/stock_demand_estimate_sheet.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ) )