[12.0][FIX] mrp_multi_level_estimate: adapt to latest split of stock_demand_estimate module.

This commit is contained in:
Lois Rilo
2020-01-02 11:02:36 +01:00
committed by JasminSForgeFlow
parent 2c5ee04824
commit 96fe538f73
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
"category": "Manufacturing",
"depends": [
"mrp_multi_level",
"stock_demand_estimate",
"stock_demand_estimate_matrix",
],
"data": [
"views/product_mrp_area_views.xml",

View File

@@ -47,7 +47,7 @@ class MultiLevelMrp(models.TransientModel):
return [
("product_id", "=", product_mrp_area.product_id.id),
("location_id", "in", locations.ids),
("date_range_id.date_end", ">=", fields.Date.today()),
("date_to", ">=", fields.Date.today()),
]
@api.model