[FIX] mrp: expected date
When a MO is created with a deadline start date in the future, the scheduled date of the stock move is still the creation date. opw-707396
This commit is contained in:
@@ -323,6 +323,7 @@ class MrpProduction(models.Model):
|
||||
data = {
|
||||
'name': self.name,
|
||||
'date': self.date_planned_start,
|
||||
'date_expected': self.date_planned_start,
|
||||
'bom_line_id': bom_line.id,
|
||||
'product_id': bom_line.product_id.id,
|
||||
'product_uom_qty': quantity,
|
||||
|
||||
Reference in New Issue
Block a user