mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[FIX] Correct api.depends to avoid relying on non-stored computed field
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user