diff --git a/addons/maintenance/models/maintenance.py b/addons/maintenance/models/maintenance.py index 4b5fa62bcfa..56f14057740 100644 --- a/addons/maintenance/models/maintenance.py +++ b/addons/maintenance/models/maintenance.py @@ -244,6 +244,7 @@ class MaintenanceEquipment(models.Model): 'user_id': self.technician_user_id.id, 'maintenance_team_id': self.maintenance_team_id.id, 'duration': self.maintenance_duration, + 'company_id': self.company_id.id or self.env.company.id }) @api.model