Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
1dcdc23
[FIX] queue_job_batch: multi company rule
qgroulard Feb 27, 2026
4038ecb
Add queue_job_profiler
simahawk Feb 11, 2026
c17a4ad
queue_job_profiler: make user note required
simahawk Feb 12, 2026
d743edb
queue_job_profiler: allow to select multiple users
simahawk Feb 12, 2026
a8b95d5
queue_job_profiler: use profile session name
simahawk Feb 12, 2026
22c7dc5
queue_job_profiler: fix handling of no job_function_id
divad1196 Apr 8, 2026
23eb660
[FIX] queue_job: Restore doctesting.
amh-mw Apr 30, 2026
c311307
Merge PR #895 into 18.0
OCA-git-bot May 26, 2026
fa87126
[UPD] Update queue_job_profiler.pot
May 26, 2026
d2c55f0
[BOT] post-merge updates
OCA-git-bot May 26, 2026
55657f1
Added translation using Weblate (Italian)
mymage May 29, 2026
05a7fd4
[IMP] queue_job_batch: improve perf
hoangtrann May 9, 2026
1164f05
Translated using Weblate (Italian)
mymage Jun 3, 2026
ccef05c
[FIX] queue_job_profiler: controller hook
TDu Jun 4, 2026
0525583
Merge PR #941 into 18.0
OCA-git-bot Jun 5, 2026
71220ea
[BOT] post-merge updates
OCA-git-bot Jun 5, 2026
dadad55
Added translation using Weblate (French)
ypapouin Jun 11, 2026
7392fe5
Translated using Weblate (French)
ypapouin Jun 11, 2026
4501f5c
Translated using Weblate (French)
ypapouin Jun 11, 2026
2cf8f21
Added translation using Weblate (French)
ypapouin Jun 11, 2026
5bf3bf0
Translated using Weblate (French)
ypapouin Jun 11, 2026
1768b9f
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 16, 2026
894b603
Merge PR #931 into 18.0
OCA-git-bot Jun 26, 2026
6c0a91a
[BOT] post-merge updates
OCA-git-bot Jun 26, 2026
579297e
[FIX] queue_job: fix verbose warning in tests with patched methods
guewen May 22, 2026
078d709
Merge PR #938 into 18.0
OCA-git-bot Jun 30, 2026
ce56727
[BOT] post-merge updates
OCA-git-bot Jun 30, 2026
ccb08b4
Merge PR #932 into 18.0
OCA-git-bot Jul 2, 2026
d198792
[BOT] post-merge updates
OCA-git-bot Jul 2, 2026
85c9518
[IMP] queue_job: Set doctest.REPORT_ONLY_FIRST_FAILURE option.
amh-mw Jul 14, 2026
08691c2
Merge PR #946 into 18.0
OCA-git-bot Jul 15, 2026
5b11f1d
Update dotfiles
sbidoul Jul 19, 2026
a6c06ef
Merge pull request #948 from acsone/18.0-update-dotfiles-sbi-202607
sbidoul Jul 19, 2026
4b3e193
Merge PR #908 into 18.0
OCA-git-bot Jul 20, 2026
697f0db
[BOT] post-merge updates
OCA-git-bot Jul 20, 2026
621a998
[IMP] queue_job: add pause option on channels
guewen Aug 14, 2026
4f08e33
[FIX] queue_job: rebind args/kwargs lazily to the job's current cursor
eantones Jul 2, 2026
b1d7137
[IMP] test_queue_job: add regression test for args/kwargs rebind in i…
deeniiz Apr 29, 2026
02cbb5d
Merge PR #968 into 18.0
OCA-git-bot Aug 24, 2026
e06db68
[BOT] post-merge updates
OCA-git-bot Aug 24, 2026
0e56e44
[IMP] queue_job: Implement on fail hook
grindtildeath Jul 24, 2026
f8cdd05
Merge PR #960 into 18.0
OCA-git-bot Aug 27, 2026
6ccb8ce
[BOT] post-merge updates
OCA-git-bot Aug 27, 2026
d491489
[IMP] queue_job: Default subchannel capacity and sequential.
amh-mw Feb 26, 2025
2a49b4b
[FIX] queue_job: skip on_fail when unconfigured
Ricardoalso Aug 31, 2026
2f7a155
[FIX] queue_job: test var typo
simahawk Sep 1, 2026
c57db4d
Merge PR #971 into 18.0
OCA-git-bot Sep 1, 2026
fa92d81
[UPD] Update queue_job.pot
Sep 1, 2026
97b3ad2
[BOT] post-merge updates
OCA-git-bot Sep 1, 2026
b43b045
Update translation files
weblate Sep 1, 2026
97f0744
Merge PR #767 into 18.0
OCA-git-bot Sep 11, 2026
1ad0e16
[BOT] post-merge updates
OCA-git-bot Sep 11, 2026
e237643
[ADD] queue_job: add jobrunner config on channels
guewen Aug 17, 2026
0af4652
[IMP] queue_job: reduce log noise when running tests
simahawk Sep 14, 2026
6f24e0b
[ADD] queue_job: implement per-database channels
guewen Aug 18, 2026
ba4327d
[IMP] queue_job: show db name in channel config logs
guewen Sep 14, 2026
2cd2503
Merge PR #982 into 18.0
OCA-git-bot Sep 14, 2026
cbde710
[BOT] post-merge updates
OCA-git-bot Sep 14, 2026
85288ff
Translated using Weblate (Italian)
mymage Sep 16, 2026
fdae5bf
[IMP] queue_job: improve server wide channels readability
guewen Sep 22, 2026
7e69290
Merge PR #962 into 18.0
OCA-git-bot Sep 22, 2026
eaefdd7
[UPD] Update queue_job.pot
Sep 22, 2026
dc12679
[BOT] post-merge updates
OCA-git-bot Sep 22, 2026
dc457a4
[REF] queue: sync OCA 18.0 (2026-09-22)
rafael-lima-xipptech Sep 22, 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
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.29
_commit: v1.44
_src_path: git+https://github.com/OCA/oca-addons-repo-template
additional_ruff_rules: []
ci: GitHub
convert_readme_fragments_to_markdown: true
enable_checklog_odoo: true
generate_requirements_txt: true
Expand All @@ -17,6 +16,7 @@ odoo_test_flavor: Both
odoo_version: 18.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
postgres_image: ''
rebel_module_groups: []
repo_description: queue
repo_name: queue
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test-requirements.txt merge=union
9 changes: 8 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

name: pre-commit

on:
Expand All @@ -9,14 +10,20 @@ on:
- "18.0"
- "18.0-ocabot-*"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
cache: 'pip'
cache-dependency-path: '.pre-commit-config.yaml'
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v4
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- "18.0"
- "18.0-ocabot-*"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
unreleased-deps:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -42,7 +46,7 @@ jobs:
makepot: "true"
services:
postgres:
image: postgres:12.0
image: postgres:12
env:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
Expand All @@ -65,6 +69,13 @@ jobs:
run: oca_init_test_database
- name: Run tests
run: oca_run_tests
- name: Upload screenshots from JS tests
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Screenshots of failed JS tests - ${{ matrix.name }}${{ join(matrix.include) }}
path: /tmp/odoo_tests/${{ env.PGDATABASE }}
if-no-files-found: ignore
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
12 changes: 9 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exclude: |
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
python: python3
python: python3.12
node: "22.9.0"
repos:
- repo: local
Expand All @@ -38,12 +38,17 @@ repos:
entry: found a en.po file
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- id: obsolete dotfiles
name: obsolete dotfiles
entry: found obsolete files; remove them
files: '^(\.travis\.yml|\.t2d\.yml|CONTRIBUTING\.md|\.prettierrc\.yml|\.eslintrc\.yml)$'
language: fail
- repo: https://github.com/sbidoul/whool
rev: v1.2
rev: v1.3
hooks:
- id: whool-init
- repo: https://github.com/oca/maintainer-tools
rev: bf9ecb9938b6a5deca0ff3d870fbd3f33341fded
rev: 31bdbd8e4cb94be6534f0e82b1cafb84a455f671
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
Expand Down Expand Up @@ -95,6 +100,7 @@ repos:
additional_dependencies:
- "eslint@9.12.0"
- "eslint-plugin-jsdoc@50.3.1"
- "globals@16.0.0"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
Expand Down
73 changes: 39 additions & 34 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
load-plugins=pylint_odoo
score=n

[IMPORTS]
deprecated-modules=pdb,pudb,ipdb,bs4

[ODOOLINT]
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest-required-authors=Odoo Community Association (OCA)
Expand All @@ -25,19 +28,26 @@ disable=all
enable=anomalous-backslash-in-string,
api-one-deprecated,
api-one-multi-together,
assignment-from-none,
attribute-deprecated,
class-camelcase,
dangerous-default-value,
dangerous-view-replace-wo-priority,
development-status-allowed,
duplicate-id-csv,
duplicate-key,
duplicate-xml-fields,
duplicate-xml-record-id,
eval-referenced,
eval-used,
incoherent-interpreter-exec-perm,
openerp-exception-warning,
redundant-modulename-xml,
relative-import,
rst-syntax-error,
wrong-tabs-instead-of-spaces,
xml-syntax-error,
assignment-from-none,
attribute-deprecated,
dangerous-default-value,
deprecated-module,
development-status-allowed,
duplicate-key,
eval-used,
license-allowed,
manifest-author-string,
manifest-deprecated-key,
Expand All @@ -48,73 +58,68 @@ enable=anomalous-backslash-in-string,
method-inverse,
method-required-super,
method-search,
openerp-exception-warning,
pointless-statement,
pointless-string-statement,
print-used,
redundant-keyword-arg,
redundant-modulename-xml,
reimported,
relative-import,
return-in-init,
rst-syntax-error,
sql-injection,
too-few-format-args,
translation-field,
translation-required,
unreachable,
use-vim-comment,
wrong-tabs-instead-of-spaces,
xml-syntax-error,
attribute-string-redundant,
character-not-valid-in-resource-link,
consider-merging-classes-inherited,
context-overridden,
create-user-wo-reset-password,
dangerous-filter-wo-user,
dangerous-qweb-replace-wo-priority,
deprecated-data-xml-node,
deprecated-openerp-xml-node,
duplicate-po-message-definition,
except-pass,
file-not-used,
missing-newline-extrafiles,
old-api7-method-defined,
po-msgstr-variables,
po-syntax-error,
str-format-used,
unnecessary-utf8-coding-comment,
xml-attribute-translatable,
xml-deprecated-qweb-directive,
xml-deprecated-tree-attribute,
attribute-string-redundant,
consider-merging-classes-inherited,
context-overridden,
except-pass,
invalid-commit,
manifest-maintainers-list,
missing-newline-extrafiles,
missing-readme,
missing-return,
odoo-addons-relative-import,
old-api7-method-defined,
po-msgstr-variables,
po-syntax-error,
renamed-field-parameter,
resource-not-exist,
str-format-used,
test-folder-imported,
translation-contains-variable,
translation-positional-used,
unnecessary-utf8-coding-comment,
website-manifest-key-not-valid-uri,
xml-attribute-translatable,
xml-deprecated-qweb-directive,
xml-deprecated-tree-attribute,
external-request-timeout,
# messages that do not cause the lint step to fail
consider-merging-classes-inherited,
missing-manifest-dependency,
too-complex,
create-user-wo-reset-password,
dangerous-filter-wo-user,
deprecated-module,
file-not-used,
invalid-commit,
missing-manifest-dependency,
missing-newline-extrafiles,
missing-readme,
no-utf8-coding-comment,
odoo-addons-relative-import,
old-api7-method-defined,
unnecessary-utf8-coding-comment,
# messages that do not cause the lint step to fail
consider-merging-classes-inherited,
deprecated-module,
invalid-commit,
missing-readme,
odoo-addons-relative-import,
redefined-builtin,
too-complex,
unnecessary-utf8-coding-comment
manifest-external-assets


[REPORTS]
Expand Down
54 changes: 29 additions & 25 deletions .pylintrc-mandatory
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
load-plugins=pylint_odoo
score=n

[IMPORTS]
deprecated-modules=pdb,pudb,ipdb,bs4

[ODOOLINT]
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest-required-authors=Odoo Community Association (OCA)
Expand All @@ -17,19 +20,26 @@ disable=all
enable=anomalous-backslash-in-string,
api-one-deprecated,
api-one-multi-together,
assignment-from-none,
attribute-deprecated,
class-camelcase,
dangerous-default-value,
dangerous-view-replace-wo-priority,
development-status-allowed,
duplicate-id-csv,
duplicate-key,
duplicate-xml-fields,
duplicate-xml-record-id,
eval-referenced,
eval-used,
incoherent-interpreter-exec-perm,
openerp-exception-warning,
redundant-modulename-xml,
relative-import,
rst-syntax-error,
wrong-tabs-instead-of-spaces,
xml-syntax-error,
assignment-from-none,
attribute-deprecated,
dangerous-default-value,
deprecated-module,
development-status-allowed,
duplicate-key,
eval-used,
license-allowed,
manifest-author-string,
manifest-deprecated-key,
Expand All @@ -40,56 +50,50 @@ enable=anomalous-backslash-in-string,
method-inverse,
method-required-super,
method-search,
openerp-exception-warning,
pointless-statement,
pointless-string-statement,
print-used,
redundant-keyword-arg,
redundant-modulename-xml,
reimported,
relative-import,
return-in-init,
rst-syntax-error,
sql-injection,
too-few-format-args,
translation-field,
translation-required,
unreachable,
use-vim-comment,
wrong-tabs-instead-of-spaces,
xml-syntax-error,
attribute-string-redundant,
character-not-valid-in-resource-link,
consider-merging-classes-inherited,
context-overridden,
create-user-wo-reset-password,
dangerous-filter-wo-user,
dangerous-qweb-replace-wo-priority,
deprecated-data-xml-node,
deprecated-openerp-xml-node,
duplicate-po-message-definition,
except-pass,
file-not-used,
missing-newline-extrafiles,
old-api7-method-defined,
po-msgstr-variables,
po-syntax-error,
str-format-used,
unnecessary-utf8-coding-comment,
xml-attribute-translatable,
xml-deprecated-qweb-directive,
xml-deprecated-tree-attribute,
attribute-string-redundant,
consider-merging-classes-inherited,
context-overridden,
except-pass,
invalid-commit,
manifest-maintainers-list,
missing-newline-extrafiles,
missing-readme,
missing-return,
odoo-addons-relative-import,
old-api7-method-defined,
po-msgstr-variables,
po-syntax-error,
renamed-field-parameter,
resource-not-exist,
str-format-used,
test-folder-imported,
translation-contains-variable,
translation-positional-used,
unnecessary-utf8-coding-comment,
website-manifest-key-not-valid-uri,
xml-attribute-translatable,
xml-deprecated-qweb-directive,
xml-deprecated-tree-attribute,
external-request-timeout

[REPORTS]
Expand Down
Loading
Loading