Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1209 commits
Select commit Hold shift + click to select a range
3f1be6a
queue_job: store exception name and message
simahawk Mar 29, 2021
7f9a2e3
[FIX] queue_job: Migrations raising errors with OpenUpgrade
etobella Jun 22, 2021
79c558b
[IMP] queue_job: Add cancelled state to queue.job
hbrunn May 14, 2021
7f177c7
[IMP] queue_job: tests for wizards
hbrunn May 21, 2021
8a5577b
[IMP] queue_job: use a widget in eta field in queue job tree view
fernandahf Nov 9, 2021
8bda0bf
queue_job: use parent channel if configured
simahawk Mar 11, 2022
6f6155c
queue_job: update contributors
simahawk Mar 11, 2022
a288328
[UPD] Update queue_job.pot
Oct 31, 2022
b58c057
[UPD] README.rst
OCA-git-bot Oct 31, 2022
54ce315
Update translation files
weblate Oct 31, 2022
3132baa
Store dependencies
guewen Jul 2, 2019
7fdfb5b
Add wait dependencies state
guewen Jul 2, 2019
61ce695
Enqueue waiting jobs when parent jobs are done
guewen Jul 3, 2019
4691c5d
Optimize and make enqueue of waiting jobs more robust
guewen Jul 4, 2019
a16c212
Adapt views for state wait_dependencies
guewen Jul 5, 2019
03666d4
Add API for Delayables
guewen Jul 5, 2019
2b62c3f
Fix tests failing when test_queue_job is installed
guewen Jul 6, 2019
90b6568
Add widget to show job dependencies on UI
guewen Jul 9, 2019
5d681ff
Show the dependency widget in a tab
guewen Jul 11, 2019
39e7316
Add documentation on 'base' model public methods
guewen Oct 4, 2019
0a14137
Improve loading of dependencies using batch read
guewen Oct 4, 2019
4b39b4b
Use Delayable in DelayableRecordset
guewen Oct 4, 2019
9b4198c
Add documentation
guewen May 24, 2021
0587c08
Add a graph UUID
guewen May 26, 2021
36e4306
Hide some technical fields
guewen May 26, 2021
0cccc90
Ignore requeues on dependency jobs waiting on parent jobs
guewen May 26, 2021
c3658fe
Fix lint
guewen May 27, 2021
2538490
Update vis-network js
guewen May 27, 2021
4326277
Improve display of jobs graph widget
guewen May 27, 2021
ab3c3c6
Add powerful context manager for running tests on jobs
guewen May 28, 2021
76313f2
Set graph_uuid only once in DelayableGraph
guewen May 30, 2021
a8fbe86
Add docstrings on the new delayable classes
guewen May 30, 2021
5022115
Add option to generate a graph in create_test_job controller
guewen Jul 1, 2021
03fb764
Improve graph widget
guewen Jul 1, 2021
dfc2020
Add a smart button to open all the jobs of a graph
guewen Jul 1, 2021
8513c99
ix duplicate label
guewen Jul 1, 2021
6f90a88
Fix graph widget now showing title as HTML
guewen Jul 1, 2021
af4954d
Improve graph widget performance
guewen Jul 1, 2021
6f14d08
Escape strings passed to the graph js widget
guewen Jul 21, 2021
b5bb606
Fix things required by odoo 14.0 or python 3.9
guewen Oct 26, 2022
de47b70
Add documentation about handling of failures in a graph
guewen Jan 29, 2022
711637b
Fix equality of enqueued jobs
guewen Feb 2, 2022
49381f4
Use a python3.6 compatible data class
guewen Feb 2, 2022
08885a2
Rename mock_jobs() to trap_jobs()
guewen Feb 3, 2022
4f9077b
Rename dependency method done() to on_done()
guewen Feb 3, 2022
4f68fd3
Migrate queue job graph/dependencies to 15.0
guewen Oct 24, 2022
75c6db5
Apply pre-commit on migration of jobs graph
guewen Oct 24, 2022
3865276
[UPD] Update queue_job.pot
Nov 15, 2022
f19ef86
[UPD] README.rst
OCA-git-bot Nov 15, 2022
ac43c4d
Update translation files
weblate Nov 15, 2022
472118b
[MIG] queue_job, test_queue_job: Forward port queue from 15.0
lmignon Nov 16, 2022
44825d9
[FIX] queue_job: fix invalid po files
lmignon Nov 22, 2022
6a64d2b
[UPD] Update queue_job.pot
Nov 22, 2022
f334b39
queue_job 16.0.2.0.0
OCA-git-bot Nov 22, 2022
eca2b9e
Update translation files
weblate Nov 22, 2022
f9a19b0
[FIX] queue_job: UI glitches in 16.0 migration
StefanRijnhart Dec 14, 2022
8e71f13
[UPD] Update queue_job.pot
Dec 14, 2022
34fb901
queue_job 16.0.2.1.0
OCA-git-bot Dec 14, 2022
31fcd31
Update translation files
weblate Dec 14, 2022
cca9a2d
[FIX] Patch Request._get_session_and_dbname to get db from URL
hugosantosred Jan 31, 2023
e443f8e
[FIX] queue_job: Commit was removed, but that could be a problem if y…
etobella Feb 14, 2023
bbb98a4
Translated using Weblate (Spanish)
FranciscoFactorLibre Feb 15, 2023
484aa24
[FIX] queue_job: delayable representation failed
etobella Dec 1, 2022
80db61c
Fix cursor already closed error on retryable errors
guewen Jun 21, 2022
b12b2d9
[IMP] queue_job: add configuration options for
repodevs Nov 2, 2022
7145b63
[14.0][FIX] queue_job: fix read
sanchonuria Feb 9, 2023
9a6e27e
queue_job 16.0.2.2.0
OCA-git-bot Feb 28, 2023
18a939b
queue_job: unify no delay option
simahawk Feb 28, 2023
6b9f99c
queue_job 16.0.2.2.1
OCA-git-bot Mar 29, 2023
f056342
[UPD] README.rst
OCA-git-bot Apr 2, 2023
ea74158
queue_job 16.0.2.3.0
OCA-git-bot Apr 2, 2023
8fefff5
Handle cancelled state in job runner
sbidoul May 2, 2023
8ac6c76
queue_job 16.0.2.3.1
OCA-git-bot May 4, 2023
d147078
Fix trap_jobs() recordset comparison
guewen May 9, 2023
f75a53b
Translated using Weblate (Spanish)
ramiadavid May 18, 2023
739c761
Translated using Weblate (Spanish)
ramiadavid May 18, 2023
c65e86f
queue_job 16.0.2.3.2
OCA-git-bot Jun 2, 2023
2cfef24
queue_job 16.0.2.4.0
OCA-git-bot Jun 2, 2023
a425323
[FIX] queue_job: runner - filedescriptor out of range in select
moylop260 Feb 15, 2022
9faddef
queue_job 16.0.2.5.0
OCA-git-bot Jun 30, 2023
97c3673
[UPD] Update queue_job.pot
Sep 3, 2023
3e20220
[UPD] README.rst
OCA-git-bot Sep 3, 2023
c28f5b0
Update translation files
weblate Sep 3, 2023
9cefe61
Translated using Weblate (Spanish)
Ivorra78 Sep 7, 2023
95e7041
Translated using Weblate (Spanish)
Ivorra78 Sep 20, 2023
63b96a8
[UPD] Update queue_job.pot
Oct 28, 2023
70abd55
Update translation files
weblate Oct 29, 2023
0a15860
[IMP] queue_job: identity_key enhancements
Jun 16, 2023
8b2ea65
queue_job: job_record_with_same_identity_key ignore STARTED
simahawk Nov 21, 2023
d25b82b
FIX queue_job avoiding AccessDenied when loading the module in an ins…
eLBati Oct 26, 2021
c732285
queue job avoiding AccessDenied when loading the module in an instanc…
pcastelovigo Nov 22, 2023
b4fc16b
[BOT] post-merge updates
OCA-git-bot Nov 23, 2023
c3fa8cc
[BOT] post-merge updates
OCA-git-bot Nov 23, 2023
1d39dcc
[IMP] queue_job: pre-commit auto fixes
nguyenminhchien Nov 29, 2023
4a25c00
[MIG] queue_job: Migration to 17.0
nguyenminhchien Dec 4, 2023
c62a0d7
[UPD] Update queue_job.pot
Dec 5, 2023
408c4db
[BOT] post-merge updates
OCA-git-bot Dec 5, 2023
1fad3db
Update translation files
weblate Feb 3, 2024
b8b3d8a
Added translation using Weblate (Italian)
mymage Feb 5, 2024
733b21b
Translated using Weblate (Italian)
mymage Feb 16, 2024
df51e6a
Translated using Weblate (Italian)
mymage Feb 19, 2024
42c25d9
Remove doctest from get_db_names method to avoid issues with Odoo.sh
AlexanderPashuk Mar 13, 2024
2f35a1e
[BOT] post-merge updates
OCA-git-bot Apr 4, 2024
0037372
[FIX] *queue_job: Pre-commit fixes
pedrobaeza May 1, 2024
d92be25
[BOT] post-merge updates
OCA-git-bot May 1, 2024
e7bf172
[fix] queue_job: JobsTrap.perform_enqueued_jobs
fd-oncodna May 22, 2024
c885a98
[BOT] post-merge updates
OCA-git-bot May 25, 2024
40db399
Translated using Weblate (Chinese (Simplified) (zh_CN))
xtanuiha Jul 2, 2024
3a43e0d
[14.0][IMP] queue_job current company
acsonefho Aug 2, 2021
e0c2120
queue_job: fix pylint duplicate-xml-fields
simahawk Mar 14, 2022
09cb160
Revert "[14.0][IMP] queue_job current company"
sbidoul Oct 18, 2022
b036368
IMP queue_job: add cancelled filter
hparfr Jan 3, 2023
ad53c15
queue_job: split identity_key hasher to ease reuse
simahawk Nov 27, 2023
89ed43b
[IMP] queue_job: track error in chatter
MiquelRForgeFlow Nov 16, 2023
711be4f
queue_job: fix partial index to add 'wait_dependencies' state
Mar 6, 2024
4d43b52
queue_job: triggers stored computed fields before calling 'set_done()'
Mar 27, 2024
e238418
queue_job: fix retry format with tuple values
InigoGR Feb 1, 2024
f199d46
[IMP] queue_job: Cancel child jobs when the parent is cancelled
QuocDuong1306 Aug 1, 2024
007cd66
[FIX] queue_job: typo
florentx Sep 16, 2024
3704084
[IMP] queue_job: add filter on Date Created
florentx Sep 16, 2024
d3e926c
[IMP] queue_job: Display warning before displaying big dependency graphs
paradoxxxzero Jun 4, 2024
7ada3b1
[MIG] queue_job: Migration to 18.0
QuocDuong1306 Sep 19, 2024
f4e7bc5
[IMP] queue_job: Cleaned TODO tags
QuocDuong1306 Sep 25, 2024
3771922
[IMP] queue_job: use jsonb column for JobSerialized
QuocDuong1306 Sep 26, 2024
d2c3460
[IMP] queue_job: Don't raise a warning for valid context
rousseldenis Aug 23, 2024
f8d7355
[UPD] Update queue_job.pot
Oct 15, 2024
db07b90
[BOT] post-merge updates
OCA-git-bot Oct 15, 2024
9d5b8e2
Update translation files
weblate Oct 15, 2024
4a21878
Translated using Weblate (Italian)
mymage Oct 16, 2024
dd45295
[IMP] update dotfiles
OCA-git-bot Oct 20, 2024
8ea8508
[FIX] queue_job: fix test cases from TestDelayable being skipped
thienvh332 Oct 21, 2024
a1cd3c8
Fix SQL injection lint in 18.0.1.0.0 pre-migrate.py
guewen Oct 21, 2024
738f07a
Fix 'document' is not defined [no-undef] lint in queue_job
guewen Oct 21, 2024
7f5d44e
[IMP] queue_job: Add split method
paradoxxxzero Dec 4, 2024
eaedcfa
[BOT] post-merge updates
OCA-git-bot Dec 11, 2024
2aa3554
[REF] queue_job: Use set.discard(...) instead of SafeSet
florentx Dec 16, 2024
f146567
[BOT] post-merge updates
OCA-git-bot Dec 21, 2024
bc19d12
[FIX] Stop using deprecated odoo.registry function.
amh-mw Dec 23, 2024
4c9c1b5
[BOT] post-merge updates
OCA-git-bot Dec 27, 2024
7cfe435
[IMP] queue_job: Add split method
paradoxxxzero Nov 19, 2024
32c5bb6
[FIX] queue_job: typo
florentx Sep 16, 2024
e7b6a9e
[BOT] post-merge updates
OCA-git-bot Jan 16, 2025
a1f094d
[FIX] queue_job: indicate that run_job need a read/write connection
vincent-hatakeyama Jan 24, 2025
08232b6
[BOT] post-merge updates
OCA-git-bot Jan 24, 2025
38da1ef
[IMP] queue_job: perform_enqueued_jobs should filter the context
florentx Jan 17, 2025
9bdca3d
[IMP] queue_job: explain context in docstring
florentx Feb 4, 2025
301cd29
[BOT] post-merge updates
OCA-git-bot Mar 21, 2025
c3ff6c9
[FIX] queue_job: close connection to databases without job queue
sbidoul Jul 2, 2024
6f3a26e
[FIX] queue_job: handle exceptions in Database constructor
sbidoul Jul 2, 2024
096a1ca
[IMP] queue_job: HA job runner using session level advisory lock
sbidoul Jul 2, 2024
e80e868
[IMP] queue_job: make sorting more explicit
sbidoul Jul 2, 2024
8eaa778
[BOT] post-merge updates
OCA-git-bot Mar 25, 2025
a70f792
Added translation using Weblate (Turkish)
bo-eska May 14, 2025
73b1f14
Added translation using Weblate (Turkish (tr_TR))
bo-eska May 26, 2025
37aaba8
[REF] queue_job: remove deprecated and not used methods
florentx Jun 2, 2025
0ecc845
[IMP] queue_job: use __slots__ for ChannelJob
florentx Jun 2, 2025
edbc9e5
[BOT] post-merge updates
OCA-git-bot Jun 3, 2025
4001743
[FIX] queue_job: job runner open pipe that are never closed properly
petrus-v Mar 13, 2025
cb666f3
[IMP] queue_job: add Priority to Group-By and search
florentx May 26, 2025
e4fd4ec
[FIX] queue_job: missing slot for __weakref__
florentx Jun 3, 2025
8ecc810
[BOT] post-merge updates
OCA-git-bot Jun 3, 2025
6f6f228
[IMP] queue_job: more efficient ChannelJob sorting
florentx Jun 3, 2025
d1d86a9
[BOT] post-merge updates
OCA-git-bot Jun 7, 2025
27e9b67
[UPD] Update queue_job.pot
Jun 8, 2025
47d0a36
[BOT] post-merge updates
OCA-git-bot Jun 8, 2025
84b3e1b
Update translation files
weblate Jun 8, 2025
9fc578a
[IMP] queue_job: filter for retried jobs
florentx Jun 11, 2025
21680f4
[BOT] post-merge updates
OCA-git-bot Jun 11, 2025
257cb0f
[IMP] queue: update icon style
LoisRForgeFlow Jun 9, 2025
28c4527
[BOT] post-merge updates
OCA-git-bot Jun 11, 2025
416e0db
[UPD] Update queue_job.pot
Jun 13, 2025
2061343
[BOT] post-merge updates
OCA-git-bot Jun 13, 2025
10f3105
Update translation files
weblate Jun 13, 2025
d810f98
[IMP] queue_job: set the columns optional in list view
florentx Jun 11, 2025
db26d7b
Translated using Weblate (Italian)
mymage Jun 14, 2025
c0fd89e
Translated using Weblate (Turkish)
bo-eska Jun 16, 2025
ce81e67
[BOT] post-merge updates
OCA-git-bot Jun 17, 2025
a1f2d1b
[IMP] queue_job: add index for efficient autovacuum
florentx Jun 25, 2025
402bea0
[UPD] Update queue_job.pot
Jun 25, 2025
713eb2c
[BOT] post-merge updates
OCA-git-bot Jun 25, 2025
34d1856
Update translation files
weblate Jun 25, 2025
4e11c7d
[FIX] queue_job: prevent conflict w/ TestOverrides:test_creates
amh-mw Jul 7, 2025
84b2da1
[UPD] Update queue_job.pot
Jul 10, 2025
60679a3
[BOT] post-merge updates
OCA-git-bot Jul 10, 2025
c3fdedf
Update translation files
weblate Jul 10, 2025
febbc1a
queue_job: fix references to tree views
simahawk Jul 17, 2025
bf2b739
[BOT] post-merge updates
OCA-git-bot Jul 17, 2025
9ec5dd9
Added translation using Weblate (Dutch)
Aug 15, 2025
21745af
Added translation using Weblate (Dutch (nl_NL))
Aug 15, 2025
8dec2a2
Translated using Weblate (Dutch (nl_NL))
Aug 15, 2025
f96e8bb
[IMP] queue_job: remove cron garbage collector and automatically requ…
AnizR Dec 6, 2024
121afb8
[IMP] queue_job: use queue_job_lock model
sbidoul Feb 1, 2025
6ade77a
[IMP] queue_job: tweak comment and warning message
sbidoul Feb 1, 2025
fd5240f
[FIX] queue_job: Adapted migration to properly delete the invalid cro…
baguenth Apr 10, 2025
85305b3
[IMP] queue_job: remove DB commits within test of requeue
AnizR Jun 3, 2025
6eeaf1d
fix(queue.job): Handle zero max_retries in job retry logic
zamberjo Aug 18, 2025
b51b843
[RMV] queue_job: remove test_requeue_dead_job
AnizR Sep 15, 2025
adccd12
[FIX] queue_job: fix exception msg handling
benwillig Apr 17, 2024
667c16d
[IMP] queue_job: avoid deprecation warning about datetime utcnow()
acsonefho Aug 12, 2025
f57b2f3
[UPD] Update queue_job.pot
Sep 17, 2025
43bc096
[BOT] post-merge updates
OCA-git-bot Sep 17, 2025
0f01293
Update translation files
weblate Sep 17, 2025
acb153a
[BOT] post-merge updates
OCA-git-bot Sep 18, 2025
de53d25
[BOT] post-merge updates
OCA-git-bot Sep 18, 2025
77fb5bf
Translated using Weblate (Italian)
mymage Sep 18, 2025
854aef4
[MIG] Create 19.0 from 18.0 for Odoo 19.0
sbidoul Sep 26, 2025
fa40313
[MIG] queue_job: migrate + tests
milan-dd Jan 2, 2026
64990e3
[UPD] Update queue_job.pot
Jan 4, 2026
8811bef
[BOT] post-merge updates
OCA-git-bot Jan 4, 2026
734dc72
[DOC] queue_job: remove dead jobs caveat from roadmap
sbidoul Nov 22, 2025
9cc74dc
[IMP] queue_job: prevent invalid change of job status
florentx Jun 2, 2025
b85b5f7
[IMP] queue_job: requeue orphaned jobs
hoangtrann Nov 21, 2025
cf3260a
[IMP] queue_job: query orphaned dead job not exist in lock table
hoangtrann Dec 31, 2025
99276ac
[IMP] queue_job: add job_duration parameter to test job
sbidoul Jan 2, 2026
32778d3
[FIX] queue_job: fix retry mechanisme for job dependencies
sbidoul Jan 2, 2026
f5939dc
[FIX] queue_job: set exec_time readonly
sbidoul Jan 2, 2026
b03f9d4
[IMP] queue_job: use state constant in lock function
sbidoul Jan 3, 2026
31889b0
[IMP] queue_job: refactor job acquisition
sbidoul Jan 2, 2026
01fc2c2
[IMP] queue_job: refactor runjob
sbidoul Jan 3, 2026
c92d3e9
[IMP] queue_job: convert job execution logic to class method
sbidoul Jan 3, 2026
2157c67
queue_job: declare sbidoul as maintainer
sbidoul Jan 2, 2026
5938868
[IMP] queue_job: take weaker locks
sbidoul Jan 4, 2026
a109fe8
[BOT] post-merge updates
OCA-git-bot Jan 8, 2026
11c606f
[IMP] queue_job: prevent commit during queue job execution
sbidoul Jan 21, 2026
c05663e
[BOT] post-merge updates
OCA-git-bot Feb 17, 2026
2b5be73
[FIX] mock.patch(auto_spec=True) does not exist
gurneyalex Feb 18, 2026
a0aec11
[REF] queue_job: documentation cleanup
RLeeGML Jan 26, 2026
cd04f25
Skip check of dependencies when a done job has no dependents
guewen Feb 19, 2026
c526ae2
Fix dependents error after retryable job error
guewen Feb 19, 2026
f491c98
[FIX] queue_job: Fix TestJson
Andrii9090-tecnativa Mar 4, 2026
abfa170
Add 'Allow Commit' option on job functions
guewen Feb 19, 2026
7b8732e
Add parameter to allow commit by default in jobs
guewen Feb 19, 2026
a541f01
Revert "Add parameter to allow commit by default in jobs"
guewen Feb 20, 2026
63767e3
Improve documentation on allow commit
guewen Feb 20, 2026
f5bb718
Fix missing job.env setter
guewen Feb 24, 2026
971a279
Add failure retry in queue job test job
guewen Feb 24, 2026
f88e143
Simplify job env management
guewen Feb 24, 2026
826c139
Update upgrade warning link
guewen Feb 27, 2026
f737363
pre-commit run -a
guewen Mar 23, 2026
ad64ad2
[IMP] queue_job: improve Readme/context
Sep 30, 2024
8475cf7
[FIX] queue_job: cancel job waiting dependencies
ivantodorovich Jun 6, 2025
42c7ddd
[IMP]queue_job: only subscribe job creator if indicated via boolean m…
GuillemCForgeFlow Jan 2, 2026
7b16b7e
[UPD] Update queue_job.pot
Apr 9, 2026
c38a725
[BOT] post-merge updates
OCA-git-bot Apr 9, 2026
87a0f43
Update translation files
weblate Apr 9, 2026
b02e0ef
Translated using Weblate (Italian)
mymage Apr 14, 2026
7ba09c2
[FIX] queue_job: remove create/delete permissions
guewen Apr 30, 2026
34ccd9d
[BOT] post-merge updates
OCA-git-bot May 1, 2026
6a80b4d
Translated using Weblate (Italian)
mymage Jun 3, 2026
c683bac
[MIG] queue_job: Migration to 20.0
dhongu Sep 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
752 changes: 752 additions & 0 deletions queue_job/README.rst

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions queue_job/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from . import controllers
from . import fields
from . import models
from . import wizards
from . import jobrunner
from .post_init_hook import post_init_hook
from .post_load import post_load

# shortcuts
from .job import identity_exact
35 changes: 35 additions & 0 deletions queue_job/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html)

{
"name": "Job Queue",
"version": "20.0.2.0.1",
"author": "Camptocamp,ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/queue",
"license": "LGPL-3",
"category": "Generic Modules",
"depends": ["mail", "base_sparse_field", "web"],
"external_dependencies": {"python": ["requests"]},
"data": [
"security/security.xml",
"security/ir.access.csv",
"views/queue_job_views.xml",
"views/queue_job_channel_views.xml",
"views/queue_job_function_views.xml",
"wizards/queue_jobs_to_done_views.xml",
"wizards/queue_jobs_to_cancelled_views.xml",
"wizards/queue_requeue_job_views.xml",
"views/queue_job_menus.xml",
"data/queue_data.xml",
"data/queue_job_function_data.xml",
],
"assets": {
"web.assets_backend": [
"queue_job/static/src/views/**/*",
],
},
"installable": True,
"development_status": "Mature",
"maintainers": ["guewen", "sbidoul"],
"post_init_hook": "post_init_hook",
"post_load": "post_load",
}
1 change: 1 addition & 0 deletions queue_job/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import main
Loading
Loading