Skip to content

Commit 9c9ab8b

Browse files
committed
The creation of a job is low level and should not be restrained by the accesses of the user.
2 parents bd3d478 + 4f80420 commit 9c9ab8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connector/queue/job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def store(self, job):
215215
job.kwargs))
216216

217217
self.job_model.create(self.session.cr,
218-
self.session.uid,
218+
SUPERUSER_ID,
219219
vals,
220220
self.session.context)
221221

0 commit comments

Comments
 (0)