diff --git a/addons/google_drive/google_drive.py b/addons/google_drive/google_drive.py index 90d13584fad..1dcaed3a4e9 100644 --- a/addons/google_drive/google_drive.py +++ b/addons/google_drive/google_drive.py @@ -160,7 +160,7 @@ class config(osv.Model): # check if a model is configured with a template config_ids = self.search(cr, uid, [('model_id', '=', res_model)], context=context) configs = [] - for config in self.browse(cr, uid, config_ids, context=context): + for config in self.browse(cr, SUPERUSER_ID, config_ids, context=context): if config.filter_id: if (config.filter_id.user_id and config.filter_id.user_id.id != uid): #Private