diff --git a/maintenance_repair/models/maintenance.py b/maintenance_repair/models/maintenance.py index 2a1b0603..9c19152a 100644 --- a/maintenance_repair/models/maintenance.py +++ b/maintenance_repair/models/maintenance.py @@ -127,6 +127,7 @@ class MaintenanceRequestRepairLine(models.Model): 'origin': request.name, 'analytic_account_id': analytic_account_id, }) + move = move.sudo() move._action_confirm() move._action_assign() if move.state != 'assigned':