diff --git a/mrp_subcontracting_lot_number_propagation/models/mrp_production.py b/mrp_subcontracting_lot_number_propagation/models/mrp_production.py index 1693474a1..0f3707a60 100644 --- a/mrp_subcontracting_lot_number_propagation/models/mrp_production.py +++ b/mrp_subcontracting_lot_number_propagation/models/mrp_production.py @@ -28,8 +28,8 @@ class MrpProduction(models.Model): @api.depends( # New field dependencies to compute the propagated lot on the # "mrp_production_subcontracting_form_view" view. - "move_line_raw_ids.qty_done", - "move_line_raw_ids.lot_id", + "move_raw_ids.move_line_ids.qty_done", + "move_raw_ids.move_line_ids.lot_id", ) def _compute_propagated_lot_producing(self): return super()._compute_propagated_lot_producing()