修复报废-时间
This commit is contained in:
@@ -1027,8 +1027,8 @@ class MrpProduction(models.Model):
|
|||||||
[('origin', '=', sale_order.name), ('name', 'ilike', 'WH/OUT/')])
|
[('origin', '=', sale_order.name), ('name', 'ilike', 'WH/OUT/')])
|
||||||
move = out_picking.move_ids.filtered(lambda pd: pd.product_id == self.product_id)
|
move = out_picking.move_ids.filtered(lambda pd: pd.product_id == self.product_id)
|
||||||
move_values = {'product_description_variants': '',
|
move_values = {'product_description_variants': '',
|
||||||
'date_planned': datetime.now(),
|
'date_planned': fields.Datetime.now(),
|
||||||
'date_deadline': datetime.now(),
|
'date_deadline': fields.Datetime.now(),
|
||||||
'move_dest_ids': move,
|
'move_dest_ids': move,
|
||||||
'group_id': move.group_id,
|
'group_id': move.group_id,
|
||||||
'route_ids': [],
|
'route_ids': [],
|
||||||
|
|||||||
Reference in New Issue
Block a user