mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[12.0][FIX] mrp_multi_level_estimate: adapt to latest split of stock_demand_estimate module.
This commit is contained in:
committed by
JasminSForgeFlow
parent
2c5ee04824
commit
96fe538f73
@@ -14,7 +14,7 @@
|
||||
"category": "Manufacturing",
|
||||
"depends": [
|
||||
"mrp_multi_level",
|
||||
"stock_demand_estimate",
|
||||
"stock_demand_estimate_matrix",
|
||||
],
|
||||
"data": [
|
||||
"views/product_mrp_area_views.xml",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user