Skip to content

Conversation

@victoralmau
Copy link
Member

Add base_sparse_field dependency to prevent errors in test if addon not loaded. https://github.com/OCA/queue/blob/14.0/queue_job/models/queue_job.py#L12

@Tecnativa TT35938

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seen the dependency in CI builds

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@victoralmau
Copy link
Member Author

Maybe it's ready to merge too, right?

@pedrobaeza pedrobaeza added this to the 14.0 milestone Aug 11, 2022
@pedrobaeza
Copy link
Member

/ocabot merge patch

Needed in v15?

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 14.0-ocabot-merge-pr-443-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit ab0cae1 into OCA:14.0 Aug 11, 2022
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at cb31576. Thanks a lot for contributing to OCA. ❤️

(...)
workers = 6
server_wide_modules = web,queue_job
server_wide_modules = web,queue_job,base_sparse_field
Copy link
Contributor

@simahawk simahawk Aug 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To my knowledge, this is NOT needed when the field is imported directly instead of using the patched odoo.fields.Serialized (like in queue_job).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But I have shown you the capture with the error in our CI when we run the server without this:

imagen

Copy link
Contributor

@simahawk simahawk Aug 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This problem might come from the fact that base_sparse_field is not available in your env (for whatever reason) or you are using an outdated version of queue_job... I don't know, can't judge from a screenshot 🤷‍♂️
We never had this problem on any of our instances or dev setup or CI setup. Even when we use --load=queue_job.

FTR this was fixed a looong time ago here 547538b and if you look at the change we removed the need for the server wide module. Hence it looks weird, at least 😉

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code of queue_job is updated to latest one. Don't you think that not depending in the manifest on base_sparse_field is an error?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And what's the problem with having such server wide module loaded?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm arguing only about the server_wide_modules change here. The dependency change IS correct.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But one is attached to the other: if you don't add it to the server wide modules, then it's not loaded at all. And I insist: is there any problem adding to the server wide modules that I'm not aware of?

Copy link
Contributor

@simahawk simahawk Aug 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you don't add it to the server wide modules, then it's not loaded at all

AFAIK This is not true. It was required WHEN we were using the patch.

AFAIK The server wide module IS NOT needed. If you want to recommend it for certain cases, fine, but if you want to state in the docs that is required, to me is wrong. Unless proven otherwise. This is my point.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and indeed the server wide is not needed. @victoralmau please do a PR in 14.0 for removing such change in the documentation.

@pedrobaeza pedrobaeza deleted the 14.0-fix-queue_job-dependency branch August 16, 2022 14:23
victoralmau added a commit to Tecnativa/queue that referenced this pull request Aug 16, 2022
baimont pushed a commit to acsone/queue that referenced this pull request Oct 19, 2022
baimont pushed a commit to acsone/queue that referenced this pull request Oct 20, 2022
simahawk pushed a commit to camptocamp/queue that referenced this pull request Feb 28, 2023
bizzappdev pushed a commit to BizzAppDev-Systems/queue that referenced this pull request Nov 23, 2023
bizzappdev pushed a commit to BizzAppDev-Systems/queue that referenced this pull request Nov 23, 2023
nguyenminhchien pushed a commit to nguyenminhchien/queue that referenced this pull request Nov 25, 2023
yibudak pushed a commit to yibudak/queue that referenced this pull request Nov 27, 2023
QuocDuong1306 pushed a commit to QuocDuong1306/queue that referenced this pull request Sep 19, 2024
QuocDuong1306 pushed a commit to QuocDuong1306/queue that referenced this pull request Sep 24, 2024
thienvh332 pushed a commit to thienvh332/queue that referenced this pull request Oct 7, 2024
jeffery9 added a commit to jeffery9/oca-addons-collections that referenced this pull request Jan 10, 2026
6792545c27 Translated using Weblate (Swedish)
cd0f0160a2 Added translation using Weblate (Swedish)
edc21e4c4e Translated using Weblate (Italian)
0a2be50e66 [BOT] post-merge updates
bb14a6e68c Merge PR #813 into 18.0
e416ded40c [BOT] post-merge updates
422b5f647c Merge PR #826 into 18.0
12da9db07d Update translation files
c6f5ba8285 [BOT] post-merge updates
c901a0e8e4 [UPD] Update queue_job.pot
b4c689d2e1 Merge PR #749 into 18.0
26e94fc121 [IMP] queue_job: avoid deprecation warning about datetime utcnow() datetime.datetime.utcnow() is now deprecated and should be replaced by datetime.datetime.now() (optional TZ parameter). As the original _odoo_now() doesn't contain the Timezone, the parameter datetime.UTC is not added into this improvement
9dc176672d [FIX] queue_job: fix exception msg handling
7f44c75ff2 [RMV] queue_job: remove test_requeue_dead_job
ef00b658fa fix(queue.job): Handle zero max_retries in job retry logic
8a346da51b [IMP] queue_job: remove DB commits within test of requeue
10395fd151 [FIX] queue_job: Adapted migration to properly delete the invalid cron job
5aaf3995c9 [IMP] queue_job: tweak comment and warning message
4e517f7a2f [IMP] queue_job: use queue_job_lock model
f10020b83b [IMP] queue_job: remove cron garbage collector and automatically requeue jobs in timeout
a6520d990d [BOT] post-merge updates
f52ba34169 Merge PR #818 into 18.0
5991cd6588 [FIX] queue_job_cron_jobrunner: use priority to select job
2e0ed2cc90 Translated using Weblate (Dutch (nl_NL))
99b71d215e Added translation using Weblate (Dutch (nl_NL))
5ea7362cf7 Translated using Weblate (Dutch)
5b90e1a415 Added translation using Weblate (Dutch)
a6f7ba5708 Added translation using Weblate (Dutch)
0f90c6387c [BOT] post-merge updates
120fe8b844 Merge PR #804 into 18.0
f92759e71f queue_job: fix references to tree views
edaef68659 Update translation files
5b7cedde51 [BOT] post-merge updates
5a980c8d14 [UPD] Update queue_job.pot
d22d3625df Merge PR #802 into 18.0
72d9cc8f62 [FIX] queue_job: prevent conflict w/ TestOverrides:test_creates
8a00bbb818 Update translation files
f8c463a503 Update translation files
45dabc7e4f [BOT] post-merge updates
47a6b7d915 [UPD] Update queue_job_batch.pot
580f7494a4 [UPD] Update queue_job.pot
0e379f622f Merge PR #798 into 18.0
a6375fb818 [IMP] queue_job: add index for efficient autovacuum
d5f63a0590 [BOT] post-merge updates
5b0d9065fb Merge PR #793 into 18.0
36710788c1 Translated using Weblate (Turkish)
899594ec1f Translated using Weblate (Italian)
ffa8a32a8c [IMP] queue_job: set the columns optional in list view
b6f301de4d Update translation files
97d713df1d [BOT] post-merge updates
17573d2b41 [UPD] Update queue_job.pot
37f8565fec Merge PR #789 into 18.0
0b1ceb3d5a [BOT] post-merge updates
0e7a198a61 Merge PR #792 into 18.0
7767364d64 [IMP] queue: update icon style
cc6a746095 [BOT] post-merge updates
2fcd58e12c Merge PR #779 into 18.0
f7385d59bb [IMP] queue_job: filter for retried jobs
fe0bba38a9 [BOT] post-merge updates
b812c07c19 Merge PR #771 into 18.0
337140e851 Update translation files
edaf4b435d [BOT] post-merge updates
37a66abdd4 [UPD] Update queue_job.pot
33bb34e5cc Merge PR #776 into 18.0
6f6eab67e5 [BOT] post-merge updates
97bf1d001e Merge PR #775 into 18.0
19c1637ed4 [IMP] queue_job: more efficient ChannelJob sorting
c0b788a562 [BOT] post-merge updates
c130224d1c Merge PR #782 into 18.0
73e819e5b0 [FIX] queue_job: missing slot for __weakref__
391b6b250a [IMP] queue_job: add Priority to Group-By and search
eefcc70349 [FIX] queue_job: job runner open pipe that are never closed properly
1c074f9cc0 [BOT] post-merge updates
3bedc124c1 Merge PR #778 into 18.0
7d2a9a4572 [IMP] queue_job: use __slots__ for ChannelJob
d66670a3c8 [REF] queue_job: remove deprecated and not used methods
ceb7edfd1f Added translation using Weblate (Turkish (tr_TR))
3ee0cb6b66 [18.0][FIX] queue_job_cron: _callback method signature has too many parameters
a1af4dc25b Added translation using Weblate (Turkish)
6f88b31f3e Merge pull request #761 from thienvh332/18.0-pw-queue_job
a8a17a0245 [BOT] post-merge updates
a2fd97aab2 [UPD] Update base_import_async.pot
6f6439b78f Merge PR #699 into 18.0
22ce2a3c20 oca-port: blacklist PR(s) 440, 511, 537, 728 for queue_job
23dddc5b02 [BOT] post-merge updates
1bfbf083b4 Merge PR #757 into 18.0
2aaeceddeb [IMP] queue_job: make sorting more explicit
dd63c60397 [IMP] queue_job: HA job runner using session level advisory lock
26777a2c7e [FIX] queue_job: handle exceptions in Database constructor
fde1a7b946 [FIX] queue_job: close connection to databases without job queue
f832ffde6c [BOT] post-merge updates
d4a5eb31ae Merge PR #743 into 18.0
8c18e25a98 [BOT] post-merge updates
3452370a92 [UPD] Update queue_job_cron_jobrunner.pot
a8a1407361 Merge PR #709 into 18.0
dfb6ab6fca Translated using Weblate (Italian)
fe8534df8f [MIG] queue_job_cron_jobrunner: Migration to 18.0
ccc36fcc10 [IMP] queue_job_cron_jobrunner: pre-commit auto fixes
1382d88572 Translated using Weblate (Chinese (Simplified) (zh_CN))
d764ab6e0b Added translation using Weblate (Chinese (Simplified) (zh_CN))
ad6935fa5f Translated using Weblate (Italian)
5d854339e0 Added translation using Weblate (Italian)
5eee62c0a2 Update translation files
20b4aa1ca8 [BOT] post-merge updates
3dffd4043b [UPD] Update queue_job_cron_jobrunner.pot
be11e3191c [MIG] queue_job_cron_jobrunner: Migration to 17.0
60cc2ad02f [IMP] queue_job_cron_jobrunner: pre-commit auto fixes
b0ee21ad62 Update translation files
d375ba8631 [UPD] README.rst
ace8c9343e [UPD] README.rst
a3270b9602 [UPD] Update queue_job_cron_jobrunner.pot
2fe7591957 [MIG] queue_job_cron_jobrunner: Migration to 16.0
873472eefb Translated using Weblate (Romanian)
69667d2bb9 Added translation using Weblate (Romanian)
b59ec8b2e1 queue_job_cron_jobrunner 15.0.2.0.0
e3b8b1bcb8 Add enqueue of graph dependencies in queue_job_cron_jobrunner
5c9f413b26 Initialize 16.0
defb05b7f0 [ADD] icon.png
05f7004538 [UPD] README.rst
93728d6db5 [UPD] Update queue_job_cron_jobrunner.pot
ba88cf3a7f [ADD] queue_job_cron_jobrunner
92ae72ae0f Update translation files
58aad48e93 Update translation files
3a91fbbc67 [BOT] post-merge updates
a66d0e0d06 [UPD] Update test_queue_job_batch.pot
8d90afcea4 [UPD] Update queue_job_batch.pot
e0601f6fbe Merge PR #744 into 18.0
6243869a64 [IMP] queue_job: explain context in docstring
70c7cf6533 [IMP] queue_job: perform_enqueued_jobs should filter the context
035164874c [IMP] update dotfiles
752c650cb9 [MIG] queue_job_batch, test_queue_job_batch: Migration to 18.0
0767459698 [BOT] post-merge updates
26beed3072 Merge PR #742 into 18.0
6df39aeef5 [FIX] queue_job: indicate that run_job need a read/write connection
6c76dd5cf3 [IMP] queue_job_batch, test_queue_job_batch: pre-commit auto fixes
0268593430 Added translation using Weblate (Italian)
ef9ca9a0e3 [MIG] queue_job_batch, test_queue_job_batch: Migration to 16.0
30354ba22c [IMP] queue_job_batch, test_queue_job_batch: black, isort, prettier
19820098d0 [MIG] queue_job_batch, test_queue_job_batch: Migration to 15.0
5e45eb1881 [14.0][MIG] queue_job_batch, test_queue_job_batch: Migration to 14.0
c2b7ee69a2 [IMP] queue_job_batch, test_queue_job_batch: black, isort, prettier
5cb212e3af [IMP] queue_job_batch: Fix systray icon visibility for allowed group users only
dab33fa85f Added translation using Weblate (Italian)
999538641f Added translation using Weblate (Spanish)
64befc2740 [MIG] queue_job_batch, test_queue_job_batch: Migration to 16.0
e1d0fb1899 [IMP] queue_job_batch, test_queue_job_batch: black, isort, prettier
c1786ee989 [MIG] queue_job_batch, test_queue_job_batch: Migration to 15.0
f25e1bdee6 [14.0][MIG] queue_job_batch, test_queue_job_batch: Migration to 14.0
f1f7e6e086 [IMP] queue_job_batch, test_queue_job_batch: black, isort, prettier
11141d0d39 Added translation using Weblate (French)
0144e1db13 [12.0] [FIX] Allow users from group queue_job_batch_user to write on batches
564db17d6d [MIG] queue_job_batch, test_queue_job_batch: Migration to 12.0
196b897085 [11.0][FIX] queue_job_batch: * incorrect sintax in security rule * change missleading name of security rule
53ef01ba45 [11.0][FIX] queue_job_batch: view all in the systray not working
d48b29f191 [ADD] queue_job_batch
ff7c9fe0dd [BOT] post-merge updates
bb05de3ffa Merge PR #732 into 18.0
76264344e0 [FIX] queue_job: typo
18f583457e [IMP] queue_job: Add split method
40f738df42 [IMP] queue_job_cron: Avoid parallel run
c754edb9b7 [BOT] post-merge updates
229e20b00e Merge PR #726 into 18.0
1a16788b1d [FIX] Stop using deprecated odoo.registry function.
96ea9792f8 [BOT] post-merge updates
ade985de6f Merge PR #722 into 18.0
3c2fc89070 [REF] queue_job: Use set.discard(...) instead of SafeSet
f62b4f221b [BOT] post-merge updates
efa358bc21 Merge PR #715 into 18.0
0c63fd6b22 [IMP] queue_job: Add split method
ca4ebd2277 Fix 'document' is not defined [no-undef] lint in base_import_async
f643ad553e [ADD] base_import_async: add tests
0bc3ef940c [MIG] base_import_async: Migration to 18.0
a50da3473f [IMP] base_import_async: pre-commit auto fixes
4fefb21824 [MIG] base_import_async: Migration to 17.0
038c1a377a [IMP] base_import_async: pre-commit stuff
ea24ccf78b [16.0][FIX] base_import_async, add sudo call to models without explicit access
d452c04330 [16.0][FIX] base_import_async: update OPT_HAS_HEADERS option
052d434934 Translated using Weblate (Italian)
59adbb2935 Added translation using Weblate (Italian)
55f3c4c2ec Update translation files
be18197811 Translated using Weblate (Spanish)
666e284fcb Added translation using Weblate (Spanish)
a986f96ddf oca-github-bot post-merge updates
6dbbf65613 [FIX] base_import_async: remove default values from context when creating the attachment.
aeaa256df4 [FIX] base_import_async: restore class
4809441463 Update translation files
1fe1d9f097 [16.0][MIG] base_import_async: Migration to 16.0
c61bb4e4d3 [MIG] base_import_async: Migration to 15.0
6d64018ee1 [IMP] base_import_async: black, isort, prettier
21c9230de8 Added translation using Weblate (Romanian)
59b7d02f07 base_import_async 14.0.1.0.2
ad2b4740ab base_import_async: add a dedicated channel
dec4d0b174 [IMP] update dotfiles [ci skip]
6bffea08d3 Translated using Weblate (Italian)
e85ecf7906 Added translation using Weblate (Italian)
46cd68ac45 Set modules as uninstallable
ac6f365e81 base_import_async 14.0.1.0.1
c2eca3c990 [MIG] base_import_async: Migration to 14.0
423684f9cb [MIG] init V14 repo
bd2bcd5d2d base_import_async 13.0.2.0.0
f3fa0ed643 Fix invalid development_status (accepted value is Production/Stable)
ea11b80b2b base_import_async: remove `@job` decorator
395372cb9e base_import_async 13.0.1.0.1
75be013c0c [FIX] base_import_async error message
d0f7ed526d pre-commit update
b5250ef533 Apply suggestions from code review
0afe0d7a7b [MIG] base_import_async: Migration to 13.0
27aafd04f3 [IMP] base_import_async: black, isort
44e82fa808 [ADD] icon.png
14b0340785 Set default values for encoding and separator
f860ba1ad8 Exit the import screen after importing file in async
f195df348d Add OCA development status
9d9bd0126d Migrate base_import_async to 12.0
01b4f4a2e5 Run pre-commit with black, isort, ...
3aeb04f6be Set modules as uninstallable
f601115676 [MIG] Make modules uninstallable
6f82da12cb [IMP] Readability, speed, and added HISTORY.rst
4b241b0bf5 [IMP] Processed review
007ec3157c [MIG] base_import_async and test_base_import_async to 11.0
62f39cc8ea [FIX] base_import_async: with_delay returns an instance of Job
c757956103 [MIG] base_import_async: replace connector by queue_job
f52533fd14 Whitespace
6636c62818 Porting to new API
e345a85c33 [MIG] Rename manifest files
54160a71df [MIG] Make modules uninstallable
d862023ab5 migrate javascript
2085617f96 migrate base_import_async and it's test to 9.0
8384196891 Update base_import_async.py
6564148942 Update base_import_async.py
8392c0a06d [FIX] Fix new/old api compatibility api decorator only recognize 'res_id' or 'id' as keyword args
8deda99aaa [MIG] Make modules uninstallable
57e53123ed [UPD] prefix versions with 8.0
147093282a Remove call to install_in_connector()
dcc7eae6e1 Replace deprecated functions
1fc8669420 Add bug tracker link on README.rst
d8f3586c31 base_import_async: allow to set the base priority
ea10594e5e [IMP] base_import_async: further align README with OCA template
ff6b6313ba [IMP] base_import_async: update README
d951f0a003 [FIX] base_import_async: properly install connector module
f340fccaea [IMP] OpenERP -> Odoo in comments
be79ba2519 Add OCA as author of OCA addons
52a43525c4 [IMP] add comma in README
1d5f7e8718 [IMP] slightly improve README
d33fcc969b [IMP] code style using session shortcuts
18a9dc1f4f [FIX] silence pylint, which btw discovered a genuine bug
18219d5c66 [IMP] rename base_import_connector to base_import_async
eb5825327c Merge PR #702 into 18.0
1bfdd18688 Merge pull request #701 from OCA/18.0-ocabot-update-dotfiles
4e81e3b60a Fix 'document' is not defined [no-undef] lint in queue_job
c0b4648523 Fix SQL injection lint in 18.0.1.0.0 pre-migrate.py
e767691925 Translated using Weblate (Italian)
8e1d49b9e4 [FIX] queue_job: fix test cases from TestDelayable being skipped
3693704481 [IMP] update dotfiles
2ef19023be Update translation files
46cdae30fd [BOT] post-merge updates
0488ff28cf [UPD] Update queue_job_subscribe.pot
c59655d48f Merge PR #695 into 18.0
c0b936992d Update translation files
00345e56e7 [UPD] queue_job_subscribe: Update disable tracking and use no_reset_password for tests
13426626de [MIG] queue_job_subscribe: Migration to 18.0
0c61c97c7f Translated using Weblate (Portuguese (Brazil))
70c9659eb5 Translated using Weblate (Chinese (Simplified) (zh_CN))
e248901f0b Translated using Weblate (Italian)
d6601d8e3c [UPD] Update queue_job_subscribe.pot
755397b199 [MIG] queue_job_subscribe: Migration to 17.0
cb001441db [IMP] queue_job_subscribe: pre-commit auto fixes
997a468249 [MIG] queue_job_subscribe: Migration to 16.0
9aadd3ab76 [MIG] queue_job_subscribe: Migration to 15.0
8c9a4ad7fe [14.0][MIG] - queue_job_subscribe
7375b500e6 [IMP] : black, isort, prettier
5d2f14eb5f [MIG] init V14 repo
89441cae9b pre-commit update
eeb39909d9 Run pre-commit with black, isort, ...
4688352368 Migrate queue_job_subscribe to 13.0
461ef11f3f [MIG] Make modules uninstallable
b999f160b9 Correct or disable pylint warnings
b7441bc222 Migrate queue_job_subscribe to v11
07ac5fdfcb [MIG] Make modules uninstallable
6534c908ee [IMP] queue_job_subscribe: improve README
2f8e68931f [IMP] queue_job_subscribe: odoo tag in views
768bb6165f [IMP] queue_job_subscribe: style
9e1a55c657 [MIG] queue_job_subscribe 10.0
adc728e131 [BOT] post-merge updates
5c008cb8f2 [UPD] Update queue_job_cron.pot
aef86a1a33 Merge PR #693 into 18.0
091315aabf Translated using Weblate (Italian)
34f6a00a0a [MIG] queue_job_cron: Migration to 18.0
97ed569c9f [IMP] queue_job_cron: Avoid parallel run
04fa5a72d9 [13.0][FIX] queue_job_cron: channel_id must be storable.
e7c4f49017 Translated using Weblate (Italian)
f8985af192 Added translation using Weblate (Italian)
9659373a88 [BOT] post-merge updates
8afaa89898 [UPD] Update queue_job_cron.pot
d7bcafdcd2 [MIG] queue_job_cron: Migration to 17.0
591c4044a3 [IMP] queue_job_cron: Pre-commit auto fixes
725eb3b853 Update translation files
615b222e55 Translated using Weblate (Spanish)
394d6bcb7e [UPD] README.rst
5f7f42d30c Added translation using Weblate (Spanish)
e1b9a25252 [UPD] README.rst
7a092e4963 [MIG] queue_job_cron: Migration to 16.0
92180c5625 [MIG][15.0] queue_job_cron to version 15.0
2aed254956 Initialize 16.0
4911fa339d [UPD] README.rst
48dfa3ddce [UPD] Update queue_job_cron.pot
4099bbb4d2 [MIG][15.0] queue_job_cron to version 15.0
12efe9dc8b Set modules as uninstallable
f4f186a122 [UPD] README.rst
10f8e896dc [UPD] Update queue_job_cron.pot
b2e7214cb4 [FIX] Respect `cron.user_id` for manually triggered queue jobs
17d029c2ba [MIG] Bump version. Set module installable. Check migration guide.
b88aaa6737 [IMP] : black, isort, prettier
4898be7890 [MIG] init V14 repo
db9036c8c3 queue_job_cron 13.0.2.1.0
d374df9816 Fix channel name in jobs delayed for crons
ae541d9850 queue_job_cron 13.0.2.0.0
3e363eb388 queue_job_cron: remove `@job` decorator
3ddafeb19e pre-commit update
05ccae5872 [UPD] README.rst
951683e9c7 [UPD] Update queue_job_cron.pot
7e7ad0f0cc Run pre-commit with black, isort, ...
c654c61b9c Migrate queue_job_cron to 13.0
7ef5fddb6e Set modules as uninstallable
d172e1c85d Rename Chinese translation files
497c4f64dd [UPD] README.rst
c4937b8fd7 Translated using Weblate (Chinese (Simplified))
339f8db571 Added translation using Weblate (Chinese (Simplified))
77f1d3941e Translated using Weblate (German)
3f59edebb5 Added translation using Weblate (German)
4d73ed266b [ADD] icon.png
787d93b6f9 [UPD] Update queue_job_cron.pot
4c3a230132 [MIG] Queue Job Cron to 12.0
71a6b6d914 queue_job_cron: bump version
1d56c0093e queue_job_cron: do not require read access to ir.cron
e8cc40d01c Improve tests coverage
a1f2c735b6 [ADD] add new module to execute ir_cron as queue_job
acc12a47a9 Update translation files
4b8b0fe7f4 [BOT] post-merge updates
93dd96e5e3 [UPD] Update test_queue_job.pot
5e8a6ac2bf [UPD] Update queue_job.pot
8281c2b1b2 Merge PR #692 into 18.0
bb4b6f6347 [MIG] test_queue_job: Migration to 18.0
eb6c5dd7ad [IMP] queue_job: Don't raise a warning for valid context
ec1c4c02d0 [IMP] queue_job: Cancel child jobs when the parent is cancelled
531227d9f6 [FIX] queue_job: missing flush
2941c1108f queue_job: fix retry format with tuple values
35f23aff66 Update test with proper way to pass company to job
eefbcaf03a [14.0][IMP] queue_job current company Use the current company to trigger the job (+ add related tests)
5537e6f7bb Translated using Weblate (Chinese (Simplified) (zh_CN))
77157c2a49 [BOT] post-merge updates
a00a2242a6 [FIX] *queue_job: Pre-commit fixes
cbabd2eea3 Translated using Weblate (Italian)
8139b656cd Added translation using Weblate (Italian)
99ac1094c6 Update translation files
8a44ad6e70 [UPD] Update test_queue_job.pot
e60af34e79 [MIG] test_queue_job: Migration to 17.0
dc7b47661b [IMP] test_queue_job: pre-commit auto fixes
c874af9e6f [BOT] post-merge updates
d880af47d6 [IMP] queue_job: identity_key enhancements
f13d7681db Translated using Weblate (Spanish)
2e4061d7c0 Added translation using Weblate (Spanish)
0c6b77caeb test_queue_job 16.0.2.2.0
339d0563dd Fix trap_jobs() recordset comparison
b29b1dbd8e test_queue_job 16.0.2.1.0
9ab23bf41b queue_job: unify no delay option
a8672513c4 Update translation files
f8b3c3f7c0 test_queue_job 16.0.2.0.0
31b6246f71 [MIG] queue_job, test_queue_job: Forward port queue from 15.0
8d78fc6531 Use new TransactionCase instead of deprecated SavepointCase
3b00e1aa72 Apply pre-commit on migration of jobs graph
405b5ccc75 Rename dependency method done() to on_done()
7d27c135d5 Rename mock_jobs() to trap_jobs()
50dd7274f3 Fix things required by odoo 14.0 or python 3.9
c4079c3cbf Add docstrings on the new delayable classes
574382c492 Set graph_uuid only once in DelayableGraph
3cc8c4130e Add powerful context manager for running tests on jobs
4795fa5ce8 Improve display of jobs graph widget
bd74a9c83d Fix warnings in tests
e85778efc2 Ignore requeues on dependency jobs waiting on parent jobs
b10eddcaf5 Add a graph UUID
deb5efb239 Add API for Delayables
309948a92a Add wait dependencies state
c3653e0ebf Store dependencies
a24652a323 Update translation files
7980a08848 [UPD] Update test_queue_job.pot
024e6ad098 queue_job: store exception name and message
964e093405 queue_job: add hook to customize stored values
500fd47fb6 queue_job: add exec time to view some stats
4faa9aca35 Remove initial create notification and follower
f6c5b67a8c Translated using Weblate (German)
a33168d95f Added translation using Weblate (German)
4df96809f3 test_queue_job 16.0.1.0.1
d8e6409488 Disable storing of context in jobs recordsets by default
a2e5f2ed28 Update translation files
415e0b1cef [UPD] Update test_queue_job.pot
48464b7bf9 [UPD] Update test_queue_job.pot
289308784c [FIX] import mock from unittest
a0daa51a6d [MIG] test_queue_job: Migration to 16.0
f90cec20fe Initialize 16.0
4e4956e9a7 [IMP] update dotfiles [ci skip]
deebb12962 [UPD] Update test_queue_job.pot
355c223503 [MIG] test_queue_job: Migration to 15.0
dcce1d24c2 Run pre-commit run -a
384dc98216 Set modules queue_job and test_queue_job as installable
8b648eb68c Set modules as uninstallable
adff9ed489 test_queue_job 14.0.1.3.0
7c2cb3b6f1 Add method to patch a method to be automatically delayed
bcaf26aca1 Update translation files
ae5aa9a527 test_queue_job 14.0.1.2.0
85859b00f2 [UPD] Update test_queue_job.pot
54e9ed6fe0 Revert "[14.0] [IMP] Store job execution information + wizard to terminate a job + test"
905befbb0b Update translation files
887711173f test_queue_job 14.0.1.1.0
eea6f31f7b [UPD] Update test_queue_job.pot
e2e05a0737 [ADD] Apply suggestions from code review
36cff9ae07 [IMP] Store job execution information + wizard to terminate a job + test
10f48f6d42 [FIX] use __func__ for function comparison in tests
3f1987d677 [REF] Replace deprecated assertEquals with assertEqual
799a99bac4 [UPD] Update test_queue_job.pot
bed8b8f535 Add import shortcut for identity_exact
94e6430b91 [MIG] finish migration
9ddf120702 [REF] remove deprecated feature
ce1a57af91 [IMP] : black, isort, prettier
c0f18ab4c3 [MIG] init V14 repo
060c835757 Store 'su' flag in records stored in JobSerialized fields
9b309d94a4 Refactor user_id,model_name,record_ids fields on queue.job
4bf174a9e4 test_queue_job 13.0.2.1.0
5b9b0969ca test_queue_job 13.0.2.0.0
68ce406159 Replace job function name by model + method fields
adfdeaf9dd Deprecate job decorators
81edc98ec0 Store worker's PID when a job is started
034806dbe4 [FIX] queue_job: vaccuum query must be based on channel complete name
092a331ef7 Move autovacuum tests in the same class
3531e21367 queue_job: allow to define vacuum removal interval per channel
46537964f8 Use more permissive license AGPL3 → LGPL3
2f03ca37be [UPD] Update test_queue_job.pot
3c35e28da0 Run pre-commit with black, isort, ...
16afd38c1b Replace sudo(user) by with_user(user)
5b41193abd Migrate queue_job
b65e903a4f Set modules as uninstallable
dedfe29052 Translated using Weblate (Chinese (Simplified))
16365cb296 Added translation using Weblate (Chinese (Simplified))
aa19de48c8 [ADD] Test case for "AutoVacuum Job Queue" cron job
7b8bd0f529 [ADD] icon.png
ee4d158651 [UPD] Update test_queue_job.pot
2748465efb [11.0] Forward port. of identity_key (from 10.0)
561a88e153 Migrate queue_job to 12.0
df78b3cee0 [MIG] Make modules uninstallable
cc2211cc4d Add default related action to open related records
e21d74b55f Fix auto registration of job methods and channels
de4d3bca98 Correct or disable pylint warnings
243d1bd2e9 PY3: remove encode/decode in a test
ec1ab98bef PY3: replace im_class and so with __self__
b274c52dcd Set test_queue_job installable to work on tests
44b8ec835f [MIG] Make modules uninstallable
4398649993 [FIX] domain to subscribe users
4c7a5cfc5a [IMP] Allow to override the channel to use when delaying a job
511c7013f6 Fix mutability of job arguments
742d8251a6 Move tests using queue_job.testing_method in test_queue_job
6c73fecd6d Fix implementation of related actions
147b5e84b2 Make tests pass
3383dbdcb1 [IMP] queue_job: use jsonb column for JobSerialized
8c92c88e3d [IMP] queue_job: Cleaned TODO tags
3c98e95b2a [MIG] queue_job: Migration to 18.0
63dd90d18c [IMP] queue_job: Display warning before displaying big dependency graphs
13d2f0565b [IMP] queue_job: pre-commit auto fixes
4153868a11 [IMP] queue_job: add filter on Date Created
75c0104a55 [FIX] queue_job: typo
41db06907b [IMP] queue_job: Cancel child jobs when the parent is cancelled
219aac039d queue_job: fix retry format with tuple values
c99d000a39 queue_job: triggers stored computed fields before calling 'set_done()'
d6e0a61912 queue_job: fix partial index to add 'wait_dependencies' state
f0baf49a1b [IMP] queue_job: track error in chatter
35ce82b614 queue_job: split identity_key hasher to ease reuse
1b1ebace2b IMP queue_job: add cancelled filter
fbdd23fbd7 Revert "[14.0][IMP] queue_job current company"
5329361370 queue_job: fix pylint duplicate-xml-fields
b567012403 [14.0][IMP] queue_job current company Use the current company to trigger the job (+ add related tests)
3f4e170ca0 Translated using Weblate (Chinese (Simplified) (zh_CN))
a22ca58004 [BOT] post-merge updates
09812443bc [fix] queue_job: JobsTrap.perform_enqueued_jobs Closes #651
589676979a [BOT] post-merge updates
bb918e61d6 [FIX] *queue_job: Pre-commit fixes
c99094a5f8 [BOT] post-merge updates
5ddbc157f1 Remove doctest from get_db_names method to avoid issues with Odoo.sh
6f4f68cc21 Translated using Weblate (Italian)
c3b6eeafc1 Translated using Weblate (Italian)
a9b85bca5e Added translation using Weblate (Italian)
0d58e5443d Update translation files
b84ffb3212 [BOT] post-merge updates
cc366aac79 [UPD] Update queue_job.pot
e2403b9a2c [MIG] queue_job: Migration to 17.0
a43f146417 [IMP] queue_job: pre-commit auto fixes
64442e4a50 [BOT] post-merge updates
2cdb41a87b [BOT] post-merge updates
1ef21e031b queue job avoiding AccessDenied when loading the module in an instance with list_db=false
c0af7085da FIX queue_job avoiding AccessDenied when loading the module in an instance with list_db = False The scenario is a multi database environment where you can't set db_name as the databases change frequently and you use dbfilter to allow users to access their DB according to domain
49d6b139c9 queue_job: job_record_with_same_identity_key ignore STARTED
583ec3d76d [IMP] queue_job: identity_key enhancements
1da9385dda Update translation files
e7a9edafd8 [UPD] Update queue_job.pot
816233c149 Translated using Weblate (Spanish)
9df0e54e8a Translated using Weblate (Spanish)
7f5ba751e7 Update translation files
70cfd17d4b [UPD] README.rst
637f28d45a [UPD] Update queue_job.pot
79b835e535 queue_job 16.0.2.5.0
39720637fe [FIX] queue_job: runner - filedescriptor out of range in select
0bd567b235 queue_job 16.0.2.4.0
10045e7410 queue_job 16.0.2.3.2
e2f05e620d Translated using Weblate (Spanish)
e8a0cc1eeb Translated using Weblate (Spanish)
2aaf7b94e0 Fix trap_jobs() recordset comparison
5ff0fbef9b queue_job 16.0.2.3.1
7b04cbed84 Handle cancelled state in job runner
db227a4308 queue_job 16.0.2.3.0
30490293bc [UPD] README.rst
f2cc1913db queue_job 16.0.2.2.1
80d2caea45 queue_job: unify no delay option
f4b95091d4 queue_job 16.0.2.2.0
46d573c14e [14.0][FIX] queue_job: fix read
6133673cab [IMP] queue_job: add configuration options for jobrunner_db_user, jobrunner_db_password
da313b9916 Fix cursor already closed error on retryable errors
02aa058c13 [FIX] queue_job: delayable representation failed
cd57b85b90 Translated using Weblate (Spanish)
45e75429e3 [FIX] queue_job: Commit was removed, but that could be a problem if you generated too much records
06e1eee58f [FIX] Patch Request._get_session_and_dbname to get db from URL
9ae8a29dd3 Update translation files
9f24f43cb3 queue_job 16.0.2.1.0
663a0bb473 [UPD] Update queue_job.pot
78f8f6964f [FIX] queue_job: UI glitches in 16.0 migration
bf55d74cbf Update translation files
12f9ce6a24 queue_job 16.0.2.0.0
dfe911dbfa [UPD] Update queue_job.pot
132cbda690 [FIX] queue_job: fix invalid po files
7f742b11f4 [MIG] queue_job, test_queue_job: Forward port queue from 15.0
7e099dd142 Update translation files
0cdd6b6585 [UPD] README.rst
76e5fc6995 [UPD] Update queue_job.pot
3d24de800d Apply pre-commit on migration of jobs graph
dfac03ad74 Migrate queue job graph/dependencies to 15.0
c72f729367 Rename dependency method done() to on_done()
53dc84b005 Rename mock_jobs() to trap_jobs()
e9f29cf9e2 Use a python3.6 compatible data class
fc4ce5def3 Fix equality of enqueued jobs
da26173ce1 Add documentation about handling of failures in a graph
04914cf4ea Fix things required by odoo 14.0 or python 3.9
d35a651858 Escape strings passed to the graph js widget
9ad5f92ba5 Improve graph widget performance
9fdbab1b63 Fix graph widget now showing title as HTML
7e1f06a53c ix duplicate label
0e070db26a Add a smart button to open all the jobs of a graph
f4786e7733 Improve graph widget
8719a3a786 Add option to generate a graph in create_test_job controller
fa44561770 Add docstrings on the new delayable classes
495027c0d7 Set graph_uuid only once in DelayableGraph
0ee73bc403 Add powerful context manager for running tests on jobs
c4d7d760a3 Improve display of jobs graph widget
1100f721ee Update vis-network js
25e2007106 Fix lint
3dacb8e3e5 Ignore requeues on dependency jobs waiting on parent jobs
6178a3ab4f Hide some technical fields
1f73c7e19c Add a graph UUID
84cf1a06e6 Add documentation
f0698bd1ea Use Delayable in DelayableRecordset
75d31dde9b Improve loading of dependencies using batch read
6db198adaa Add documentation on 'base' model public methods
4ad5010914 Show the dependency widget in a tab
5156f04f98 Add widget to show job dependencies on UI
e6c904db38 Fix tests failing when test_queue_job is installed
dae8fde93e Add API for Delayables
498eec9b7a Adapt views for state wait_dependencies
9a96d0455e Optimize and make enqueue of waiting jobs more robust
9bb0d177ae Enqueue waiting jobs when parent jobs are done
24a0288894 Add wait dependencies state
064b41a786 Store dependencies
d7b90e9e53 Update translation files
6340b2d19b [UPD] README.rst
0ff5ee7838 [UPD] Update queue_job.pot
465ddff566 queue_job: update contributors
14b15f953b queue_job: use parent channel if configured
103a4bf2ac [IMP] queue_job: use a widget in eta field in queue job tree view
6dc7b34156 [IMP] queue_job: tests for wizards
bffa80dd5a [IMP] queue_job: Add cancelled state to queue.job
88885f5372 [FIX] queue_job: Migrations raising errors with OpenUpgrade
922a6260f3 queue_job: store exception name and message
9543fea2d0 Forward migration scripts from #309 #328
99e0e8c162 [IMP] queue_job: black, isort, prettier
f3b9c83813 Fix display on exec_time on tree view as seconds
069b6f6498 queue_job: migration step to store exception data
aba9a1595e queue_job: add hook to customize stored values
232e67e0ae queue_job: improve filtering and grouping
6e30a76bd7 queue_job: close buffer when done
e8f39b934d Fix date_done set when state changes back to pending
d9bb8a54e5 Fix missing rollback on retried jobs
8f68a74989 queue_job: add exec time to view some stats
4b3f78d529 Add model in search view / group by
c26d0463a7 Remove initial create notification and follower
540c0a795f Optimize queue.job creation
039b277863 Change technical fields to read-only
333e0dcfa3 [DOC] describe how to write queue.job.function in case of function defined in abstract model
483ed16faa Translated using Weblate (German)
fa168fe3bd queue_job 16.0.1.1.0
b89d30f376 [UPD] README.rst
89d8528925 queue_job 16.0.1.0.2
d13cc4f854 queue_job 16.0.1.0.1
40ea229604 [UPD] README.rst
643b87bfcf add jobrunner cli
051214f20c queue_job - activate the base context keys
b131f49e6e [FIX] queue_job: Update documentation to remove unnecessary addon (base_sparse_field) from server_wide_modules. https://github.com/OCA/queue/pull/443#discussion_r946913070
77c0b2bb65 [FIX] queue_job: Add base_sparse_field dependency to prevent errors in test if addon not loaded. TT35938
3b547f2bf1 Disable storing of context in jobs recordsets by default
3937e3dc97 Add storage of context in jobs recordsets
b36656f79e Update translation files
bbabb5b535 [UPD] README.rst
92002d45a6 [UPD] Update queue_job.pot
6e0a8900ac queue_job: fix typo in USAGE.rst
a316d94ea1 [UPD] README.rst
aa12f7e022 [UPD] Update queue_job.pot
3946d5d739 [FIX] import mock from unittest
8295c1cf28 [MIG] queue_job: Migration to 16.0
d01bd7f54a Initialize 16.0
a9f283bb93 [IMP] `queue_job`: bump app icon style
c62f06000d queue_job 15.0.1.0.2
b23586733d [IMP] queue_job: Create job with saved context
485aa85544 Translated using Weblate (Chinese (Simplified))
2f8bc5266d Translated using Weblate (Spanish)
abcce14475 Translated using Weblate (Spanish)
616eac8470 Added translation using Weblate (Spanish)
0e7dd44c2d queue_job 15.0.1.0.1
70e54a0959 [IMP] queue_job: Recover gracefully when the CPU limit is reached
31ed67a1cf [UPD] README.rst
92b81681f9 [UPD] Update queue_job.pot
a249cb1dfd Change pylint disable instruction with human-readable code
1baa1bc6a5 queue_job: use sudo() instead of with_user(SUPERUSER_ID)
a99ee3e18e Set modules queue_job and test_queue_job as installable
a7a7725a18 [MIG] queue_job: Migration to 15.0
abba7974ba [IMP] queue_job: black, isort, prettier
7e163c9ef0 Set modules as uninstallable
ca75244a55 Update translation files
9a12ac1081 [UPD] Update queue_job.pot
fe0faac6fd queue_job 14.0.1.3.1
53e446cf9a queue_job 14.0.1.3.0
5280cbf6ec Add method to patch a method to be automatically delayed
486b1dbf36 [ADD] [14.0] randomize retry interval
46d8205833 Update translation files
85e23022a9 queue_job 14.0.1.2.0
8a072ea42e [UPD] Update queue_job.pot
e6fb5bce63 Revert "[14.0] [IMP] Store job execution information + wizard to terminate a job + test"
32156bb486 Update translation files
eaa90cdf4b queue_job 14.0.1.1.0
2c345bc855 [UPD] Update queue_job.pot
2902e659df queue_job 14.0.1.0.3
a22e93f1aa [FIX] replace deprecated use of logging.warn
00bfe030e9 [FIX] Restore use of relative import
a563bdb3ff [FIX] Ouput a clear log statement when starting the doctest
25f5789bd3 [FIX] Patch Python 3.8 class teardown API to doctest
05027cc3f8 [FIX] add test tags to DocTestCase since failures are not registered correctly with OdooDocTestCase
803f60e962 [FIX] run doctests as part of standard tests
281585201d [ADD] Apply suggestions from code review
4e47c6531f [IMP] Store job execution information + wizard to terminate a job + test
981084736a [FIX] Respect `cron.user_id` for manually triggered queue jobs
1f7d0092df queue_job 14.0.1.0.2
1a901e43b7 Vacuum done jobs in batch Huge amount of jobs to delete may take a lot of time and the cron may crash, because of timeout for instance This issue would make the cron permanently run and permanently failing... Deleting batch allow to avoid this issue if the cron fails, it still will have delete some of the job history
026b114b07 queue_job 14.0.1.0.1
4360172237 Fix required sudo in Job
944da27af9 [UPD] README.rst
c9c4dd51d1 [UPD] Update queue_job.pot
50a3869643 Improve error handling on invalid job function dicts
b9691f3875 Add import shortcut for identity_exact
6f666b6a88 Fix error with undefined related action kwargs
8d45d589a3 Reorganize models and views in different files
54e386f82e Remove 13.0 migrations scripts
454c8c3c2e Adapt JobSerialized field to 14.0 changes
9b946e8a67 [MIG] finish migration
45e7c35cb1 [REF] remove deprecated feature
3e5c4d9100 [MIG] queue_job: Migration to 14.0
82238f921d [IMP] : black, isort, prettier
9f76dff4a5 [MIG] init V14 repo
2f09fc5c10 Update translation files
2ac4f6a5f0 [UPD] README.rst
be429a2cc0 [UPD] Update queue_job.pot
5b5687bb04 Store 'su' flag in records stored in JobSerialized fields
80e4151cb3 Refactor user_id,model_name,record_ids fields on queue.job
3de1edf9ae Update translation files
02e9fd10ab queue_job 13.0.3.1.0
2adfb223b8 [UPD] Update queue_job.pot
c346a6359f queue_job 13.0.3.0.2
4f81b28310 queue_job 13.0.3.0.1
086ba27a11 Remove warning when @job decorator is used
402f7936ac Update translation files
b4ea3b31f2 queue_job 13.0.3.0.0
f9154ec203 [UPD] README.rst
f389a97664 [UPD] Update queue_job.pot
cb795162d9 Add missing sudo() when reading queue.job.function
4ad59541fe Replace job function name by model + method fields
fdf922e4e3 Add safety to prevent crafting queue.job records
403862fdb3 Update documentation for deprecation of decorators
135921c429 Rebind job functions/channels with same name during install
d3af14af9d Deprecate job decorators
bd135278f8 queue_job 13.0.1.7.0
4f2b78a829 Added etree._Element to Json encoder/decoder
e535d798ab Update translation files
39c70d2eed queue_job 13.0.1.6.6
38f83a7f84 [UPD] Update queue_job.pot
997f6c02ed queue_job 13.0.1.6.5
3ce04d909a [ADD] queue_job: innocuous test job for debugging/monitoring purposes
a57b95f3c0 [ADD] check that queue_job_notify trigger exists
3553f86536 [FIX] Flush pending record updates after storing job data
51fc83a604 queue_job 13.0.1.6.4
6f71f38006 queue_job 13.0.1.6.3
4b86a94320 queue_job 13.0.1.6.2
e53ca2bfcf [UPD] README.rst
2362e51d48 Store worker's PID when a job is started
26ebe17397 [IMP] - keep connexion alive in case of job inactivity
e35e7d7096 Do not save session in /queue_job/runjob route
723976f2a9 Update translation files
cfac9131b7 queue_job 13.0.1.6.1
d0ad9b5bb3 [UPD] Update queue_job.pot
50208fa4f8 Add job_serialized in IrModelFields.ttype selection
842b805f4d queue_job 13.0.1.6.0
e9b38c3af4 queue_job 13.0.1.5.1
40eda6e877 Update translation files
894b617b88 queue_job 13.0.1.5.0
bb0d16567d [UPD] Update queue_job.pot
964b3de057 [IMP] - Create queue_job_notify trigger at post_init_hook
7479bb5254 Translated using Weblate (German)
f0b592c5e5 Fix interrupt error handling on select
7e83d5dffd queue_job 13.0.1.4.1
b9e484e488 Add mock_with_delay to help testing of jobs
7e06d52d82 queue_job 13.0.1.4.0
6e0124dee1 [IMP] add job helper for simplifying testing
b5c040efc7 queue garbage collector methods and cron
d9e1b3c73f FIX: limit search to 1 record to avoid error singleton
3e2debaedd queue_job 13.0.1.3.0
ee9057602f [UPD] README.rst
0a053383d0 [UPD] README.rst
b0e40a2316 [FIX] Object of type lazy is not JSON serializable
decd9c9323 [FIX] Update Multi-Company Access Rules To 13.0
91d3eb05bb [UPD] README.rst
38d883abce [13.0][FIX] round icon
de1cc72867 Translated using Weblate (Chinese (Simplified))
7dd108f25f pre-commit update
cc4b68e8b1 Update translation files
a4deaff15e [UPD] Update queue_job.pot
5e93786044 Update history and docs
a3bfad789e Factorize options for QueueJobRunner
c6af8f109a [RFR] Jobrunner as a worker
8009912a8f Translated using Weblate (Chinese (Simplified))
578b77855e Update translation files
8c05cd68dd [FIX] queue_job: vaccuum query must be based on channel complete name
ce617d4ac7 [UPD] README.rst
f1fc005a69 [UPD] Update queue_job.pot
afc2cd15cd queue_job: allow to define vacuum removal interval per channel
169ba2cf49 [UPD] README.rst
6514b3b56d Release queue_job: 13.0.1.1.0
491c134d83 Use more permissive license AGPL3 → LGPL3
05f2e74e7e Remove deprecated default company
6cdb631a6f [UPD] README.rst
43927afe2d [UPD] Update queue_job.pot
a7575970c5 Update history
782434c23f Run pre-commit with black, isort, ...
7aa1e2632e Replace sudo(user) by with_user(user)
281d9070b6 Add support of lists and tuples in JobSerialized
60ec3a7b2b Migrate queue_job
00c6d4c7d6 Set modules as uninstallable
26455e8c7a Translated using Weblate (Chinese (Simplified))
94057b39be Translated using Weblate (Chinese (Simplified))
e7a1fab6d6 Rename Chinese translation files
f64b7fca75 Translated using Weblate (Chinese (Simplified))
79f6802d0c [ADD] Migration for existing installations
0d1e659393 [FIX] Set "AutoVacuum Job Queue" `state` to `code`
38da74411b [UPD] README.rst
bf885cd30d [IMP] refactor jobrunner starting code
208da43121 [IMP] queue_job: don't start Jobrunner if root channel's capacity is explicitly set to 0
7040e5868e [UPD] README.rst
f4cf426355 Translated using Weblate (Chinese (Simplified))
d4793bc776 Added translation using Weblate (Chinese (Simplified))
a97b2f74f6 Added translation using Weblate (Chinese)
2d5dceb2c9 Translated using Weblate (German)
398c31fef5 Translated using Weblate (German)
2ea6e2505c Translated using Weblate (German)
94530557d4 Added translation using Weblate (German)
358b0625ef [IMP] Queue Job: allow configuration from server_environement
a9f3fb6a7f [UPD] Update queue_job.pot
0fbadb017d [UPD] README.rst
fa63cfad24 [UPD] Update queue_job.pot
d9b7444256 [UPD] Update queue_job.pot
bf1c305874 Fix name of view for "Set Jobs to Done"
d8e68a51e4 fixup! [FIX] use named cursor to iterate jobs
1503c42927 [IMP] use named cursor to iterate jobs
92d479c985 [FIX] python 3 bug in remove_db
61401853df Revert "[FIX/IMP] a couple issues observed during startup"
cdc9f2230c [IMP] use named cursor to iterate jobs
8426852552 [FIX] python 3 bug in remove_db
1f5bc2d877 [IMP]  commit job state changes with same env used to create it
a822faa6ec [IMP] remove _load_job and NotReadableJobError
db0872d78c [FIX] race condition when starting jobs
52e78dad91 CO-1444 - ability to set several jobs to done
8c503db340 [FIX] retry_postpone TransactionRollback
85a5ed7a33 [UPD] Update queue_job.pot
57cadf42b4 [UPD] README.rst
20ccbb2e44 [UPD] README.rst
6ca7be977d queue_job: ease testing via env/ctx keys
5edb76dc57 Extract method posting message on job failure
ab1f3a061b [UPD] README.rst
f2d1e184db [11.0] Forward port. of identity_key (from 10.0)
e3dc87b00e Remove date conversions as Odoo now uses datetime
0f186c14a1 Fix error during manual creation of job channel
1f281257d6 Add a field to store the overriden channel
8babf8296c Migrate queue_job to 12.0
ea49dc3c15 [MIG] Make modules uninstallable
49bd1ba6d1 [UPD] README.rst
6c6170d6a6 11.0 Small docstring improvements
ff88e36f1f [ADD] configuration options: jobrunner_db_host, jobrunner_db_port
95b7890259 [FIX] configuration options: scheme, host
80f955e864 [UPD] README.rst
c40256cbdb [UPD] README.rst
07b675cb8a [UPD] README.rst
0c52095d9a Add default related action to open related records
39360fd891 Fix readme's "Duplicate explicit target name"
6731017e4f [UPD] README.rst
f5f8af42c6 [UPD] README.rst
1a7cec4a58 [UPD] README.rst
c39bad3672 queue_job: release 11.0.1.1.0
2df2f7ed02 Fix auto registration of job methods and channels
05917e886b Obtain a session with a pre-request
50c3cf0655 Use a requests session to limit opened sessions
1e3e91eae8 Correct or disable pylint warnings
511f8c91ac [UPD] README.rst
1f90122a80 Change number of workers in configuration example
a7ba00f5c7 Add CONTRIBUTORS.rst
b8d71d0e62 [UPD] README.rst
615ad95636 development_status and maintainers
9e96e3d9a2 Readme as rst fragments
6893225492 Fix invalid code block in readme
3e0bc559df Update README.rst
8fedd86175 [ADD] configurable scheme, host and http auth
754e72c2ed [FIX] Get attributes on the class instead of recordsets
910823ac08 [IMP] avoid base_sparse_field --load
53d20feacf FIX rename of config variable, plus required version bump
021ec9c991 lint long line
326c0bc4c9 fix rst syntax that broke the build
9ff6e60206 improve wording in docstring
02037ad53d P3: automatic 2to3 conversions
0dec86d465 PY3: replace im_class and so with __self__
409b2b87ae PY3: use new py3 syntax to chain exceptions
3181a4a6fe P3: don't depend on ordering of keys in a dict
6e715a5665 cron: use odoo 11 style
589c5c3bf3 fix typo in doctest
761b33a1d6 P3: replace another usage of cmp
f6e6dc512c Adapt convert_to_column signature on JobSerialized field
ca04a43052 P3: write bytes to a pipe
5392a7325d P3: replace __cmp__
a208fd91ab Prevent lazy_property error on jobs registration
9d25e0d458 P3: replace basestring
c259f45c6d P3: replace unicode
f9455a2a15 P3: remove unneeded __unicode__
8fd4edf498 P3: new syntax for re-raise with traceback
1876c9d308 P3: cStringIO -> io
6f4b6c7b67 [PORT] Remove ir.values, replace with binding_model_id
6089dbe266 [WIP] Port to v11 - installable - untested
74a497be03 Set queue_job as installable: we are migrating it
1ffbb44c49 [MIG] Make modules uninstallable
1027df760f [ADD] Take into account HTTP response codes when assigning work
18e656f0fd [IMP] queue_job: OpenUpgrade migration script from 9.0 (#24)
bb590af229 Revert "[ADD] queue_job module: migration from 9.0"
d13ca3bdc1 [ADD] queue_job module: migration from 9.0
bd144d0587 [DOC] Improve README by showing user they need to import job
2bbfd21fa1 Load job recordsets in args with original user
f19b6e7602 [FIX] module name in web_icon
d638c7e3c7 [IMP] queue: Add icon
b779f2927f [FIX] domain to subscribe users
ea3dff15f3 Allow to use datetime and date in job arguments
343d0ce9e3 [IMP] Allow to override the channel to use when delaying a job
557c00aab6 Stop parsing psycopg exceptions
5f4cd2a9f8 Log enqueueing of jobs
b8df13aa87 [FIX] pep8 plus trivial doctest fix
8c7608a8e9 [IMP] sequential channels from 9.0
d8dc0dda3a Remove all references to CONNECTOR
c3ef73ee2a Whitespace handling on channel configuration
a167b47a15 Allow configuring runner from config file
3d1b773f6b Complete OCA runbot url
7406cf56b4 Fix mutability of job arguments
5c548c3e92 Move tests using queue_job.testing_method in test_queue_job
cb83899003 Simplify usage of Environment with new cr
eec13ff06e Correct ACSONE SA/NV wording
4879d428c9 Fix implementation of related actions
b178b0e9ab Make tests pass
6655acf00f [FIX] Give the db name to the request's session
1175d3bf51 fix pep8
0c1951a390 [IMP] Improve the way to store job after exception
a1f29dfc3a Revert "[FIX] Add the possibility to store a job with a new cursor."
ef54b0c792 [FIX] At this step, the class isn't instanciated
dfcfbf2d78 [FIX] __inner__ seems not accessible
a629f3249a [FIX] im_class seems not accessible
69780c3a10 [FIX] Add the possibility to store a job with a new cursor.
ca2c74c23a [FIX] Use env
a75ccf970a [FIX] Import jobrunner
0a9057f6a3 Remove the application flag
5f03cf2987 Use short copyrights
a616ea4d36 Add queue_job's readme
4961d7a048 pep8 error
fffcfc0cd2 Use a discriminant field type for JobSerialized
da1dd06013 Fix pylint warnings
a513252ee6 Rework related actions, now methods of Models
992fb9ca67 Encode/Decode recordsets to JSON in job arguments
aa06ba605d Fix tests on related actions
8b7501120c Rename misnamed file
695efd65f0 Implement DelayableRecordset
d22480fc91 Remove ConnectorSession
217e144f3f Extract the queue_job from connector
65d046153a Merge JobStorage into Job
de82ce1fc5 Replace ConnectorSession by odoo.Environment
0a04ee20bd Upgrade version number
1ae43558c4 Remove usage of @api.one
4704509b0c Replace monkey-patch by a proper inherit
bf503f1893 Rename openerp to odoo in docs
75bc8d9bb1 Rename xml files with odoo instead of openerp
9edc6d86a9 Rename openerp to odoo in Python files
e39127f387 Replace 'select=True' by 'index=True'
453bdc8880 Make the connector addon installable
1ceff04bb1 Set addons uninstallable
518ac90171 OCA Transbot updated translations from Transifex
11c7fb088c Remove cancellation of jobs and their active flag
4769428a33 [FIX] connector: Zero value assertion * Switch zero assertion to type strict eval (`is`)
a680c51357 Fix wrong recordset returned when no binding found
91dace72e0 rename delay key as throttle
23e912dc79 [IMP] more precise wakeup at the end of delays between jobs
29c1deb1fc [IMP] to be consistent, use the same 'now' concept everywhere
8c34a4cfd2 [ADD] first implementation of channel delay
f3b245d4af [REF] remove old code that was there for backward compatibility
a029ee77cb [DOC] remove mention of v9 crowdfunding
037e4d1824 [FIX] error handling bug
8601a45033 OCA Transbot updated translations from Transifex
da5d7f9554 [FIX] remove en.po that was erroneously created by transbot
d8105f1713 Removing log traces.
4938c108a5 Added test for job uuid in session context.
5537416087 Add job_uuid in context
60dab14404 OCA Transbot updated translations from Transifex
a54f8a63b2 [DOC] fix highlight of license
35b07b242a Fix backend_to_m2o to extract id of the binding
80783db8a5 Move connector settings menu to technical
5f401b3b3f OCA Transbot updated translations from Transifex
03d785c8c1 OCA Transbot updated translations from Transifex
8b4ec2d648 OCA Transbot updated translations from Transifex
536140a941 OCA Transbot updated translations from Transifex
74430c19f3 Update changelog for 9.0.1.0.2
2c663a6d3c Bump version number
4b1f04c564 adapt to upstream api change to obtain db connection
8959142387 update changelog
03d5fdd69d remove unused import
05f6e144d4 bump version
b28590d226 enable the jobrunner by default
2f5c995555 remove remnants of workers
e580b8fca6 [DEL] Remove deprecated APIs * In openerp.addons.connector.session.ConnectorSession:   * Remove method 'search'   * Remove method 'write'   * Remove method 'browse'   * Remove method 'read'   * Remove method 'create'   * Remove method 'unlink' * In openerp.addons.connector.connector.ConnectorUnit:   * Remove method 'get_connector_unit_for_model'   * Remove method 'get_binder_for_model'   * Remove property 'environment' * In openerp.addons.connector.connector.ConnectorEnvironment:   * Remove method 'set_lang' * In openerp.addons.connector.connector.connector.MetaConnectorUnit   * Remove property 'model_name' * Remove class openerp.addons.connector.connector.Environment * Remove method openerp.addons.connector.connector.intall_in_connector * In openerp.addons.connector.unit.synchronizer:   * Remove class 'ExportSynchronizer'   * Remove class 'ImportSynchronizer'   * Remove class 'DeleteSynchronizer' * Remove module openerp.addons.connector.deprecate. *
5c13efcb88 [FIX] fix path of odoo for doc build
083183f84e [FIX] The first version is 9.0.1.0.0
ea29afbba6 [FIX] In the last release of Odoo related partner created from an inactive user is also inactive Fix the test accordingly (https://github.com/odoo/odoo/commit/328d34a22168bd9106dde810981bfd838b675a5c)
3f4bd0c539 [PEP8]
fae888dd19 [DEL] Remove the old connector worker
ee59346bc0 [MIG] value returned by _company_default_get is a BrowseRecord
4d735be12e [MIG] email followers are instance of model 'mail.followers'
8567fe1f5b [MIG] Use python standard lib unittest in place of unittest2
2bdac88184 [MIG] Make module installable
dcdc2a50a5 [FIX] ignore dbfilter, fixes #58
a8884ac7a0 Update index.rst
7090e50c3c Update mailing list address
e827d4c491 Release 8.0.3.3.0
b1311a63a0 Fix too long line
f679f464f8 Prevent to unpickle globals which are not jobs
c52621d224 OCA Transbot updated translations from Transifex
d7021e96e2 Use tools.ustr() instead of unicode()
a00c98ec20 Removed trailing whitespace
dea860093e Manage non-ascii PG errors
6eb2ca91e8 [FIX] ignore dbfilter containing %d or %h, fixes #58
69a45b1cff [FIX] correctly obtain the list of database with odoo is started with --no-database-list
9557a8fc57 Fix the fix c3fefd2 :-(
5ae8ef2f36 Fix bug introduced in c97ebbd in jobrunner
c1dfbad6cd Set job back to 'pending' in case of exception
a19c007e08 Update index.rst
3cd4c04ce0 OCA Transbot updated translations from Transifex
d48ba128f5 Rename try_advisory_lock to advisory_lock_or_retry
8674b4b76c Context manager to acquire Postgres advisory locks
6b0fcd2d9f [8.0][FIX] when a job fails, inactive users are added to its followers
8a62a53ebe Update mailing list address
8c5f6dc275 [FIX] Yield session in a clear_upon_failure() environment
3401ae2a32 [FIX] Set job to failed after non-retryable OperationalError
928b0e530a Add 'mock_job_delay_to_direct' to ease tests on jobs
da71ce50d9 OCA Transbot updated translations from Transifex
714cd4a569 Check if a module is installed from the registry
2ab45dd160 [MIG] Make modules uninstallable
93ef45ef32 Add WooCommerce connector link in documentation
5715b73fa5 OCA Transbot updated translations from Transifex
5d6580606b [UPD] prefix versions with 8.0
9a76924155 Exception should be raised with arguments
d6bfdba1d4 Allow to ignore the retry counter when raising RetryableJobError
3868571abd Allow to define seconds when raising RetryableJobError
81d0d5447b [IMP] answer another jobrunner FAQ in the documentation
7596345958 [IMP] mention web_kanban in the --load option as it is the odoo default
3e3da4614f [IMP] improve job runner documentation
c4681e1314 Add OCA icon
087d331761 OCA Transbot updated translations from Transifex
d539783d31 Correct the authors list: missing company
6341ba680b Release 3.2.0
089bbdf9f8 Add a line in the changes file
ce481e62fc Binder.to_openerp() always returns a recordset
8e33cfbef5 Slight changes in the docstrings
fec630f1e3 Correct flake8 warning: long line
1963dce2db Mention the default implementation is the doc
8a21c0c036 Implemented a default binder to avoid reimplementing it in each connector
de171f8d5e OCA Transbot updated translations from Transifex
f48b3e9bf6 FIX: Typo in CHANGES.rst / DOC: py:meth instead py:class
e93afab65e FIX: documentation / ADD: authors and changes
4427c03323 FIX: Make sure kwargs is instantiated
90bec658a1 Added unittests
a5eb448f58 FIX: pep8
235f2d66db create environment with a classmethod
12f656af8f [FIX] retry_pattern in job decorator.
da653aa923 [FIX] seconds defaults to RETRY_INTERVAL when no retry_pattern is specified (to avoid timedelta error when seconds is None) in job.py.
e7b4967ef7 Do not pass self as 'message' of set_pending()
94105d26da A None capacity means infinite. Fix logging error
1f59b5a19b Move fields to avoid jobs view overflows
d3c71d39ec Add simple test case and fix PEP8
3cbad6cda5 Mapper: add modifier to follow m2o relations
65eb0a0675 Add line in the changes file
a72a82a381 Remove field queue_job.retry_pattern
36362316c4 Use seconds of the higher retry count of the retry pattern
33dfb7babf Keep the retry pattern on the @job definition rather than in jobs
ccea1a1432 FIX: sort the retry dictionairy by retry count
1cc6ebe59d [IMP] Add retry pattern for jobs
7b8e7b5d3f Add an index on queue_job.worker_id
f847307365 manage retryable job with runner
8f3a9df941 [DOC] small improvent
7e4f45d67d [FIX] common.DB is gone in 8.0 stable
59f42ebbb5 [IMP] job view
5ce1cfc3b8 Remove useless trick in is_module_installed
ebb7716d33 Test the cache invalidation on 'base' instead of 'connector'
525379728d Rename module.py to ir_module_module.py
6096932d28 New test: check if the cache is different for different modules
1224d25b3a Use odoo-sphinx-autodoc to build correctly the doc
caa690a71b Set Odoo path from travis environ
c876b4774b Update docstrings by Guewen (c2c)
d9e23f181d Invalid cache in write method only if the state is in the value to update
b44b556070 [FIX] get the exact field name (mapping the closure entries)
8bc8431db4 Fix unittest, when test is called by odoo, the module are not in the state 'installed' but 'to install'
682336a437 Fix is_module_installed function, check if one model of the module connector exist before call the method define by module connector
5bec89e160 [FIX] flake8
c474631c4b [FIX] rename method
329d42eba2 [FIX] clean code
e4a9544bfd no check a boolean value with None value
57816e8346 no need to call self.env['ir.module.module'] in ir.module.module model
40e14ce2a2 [FIX] useless blank line
18854f6401 [FIX] _mapping_field_name()
60ac6a5aaf [FIX] use staticmethod to keep _mapping_field_name() inside the metaclass
78afba8ce4 [IMP] add tests for _changed_by_fields attribute
01aefd3f52 improve comparaison test
27f120a8c1 [FIX] change list to set and fix nested direct functions
bf130415e5 Fix, the method 'module_uninstall' invalid the ormcache of is_module_installed
50eb44a260 Update doc
c85495bf56 See if we can remove install_in_connector() by checking in ir.module.module with caching of the result
96115d819a [ADD] comment
f7e0584bda [IMP] rename exported_fields to changed_by_fields
f1b2b977bc [ADD] support function on direct fields
32cfadc2e8 [FIX] remove useless print
c6f1958401 [IMP] add attribute 'exported_fields'on Mapper classes to list the exported fields
7f34f5d64e Allow to assign a default channel on @job functions
421d9b8e5c Add tests on jobs and channels models
0c05907e23 Add bug tracker link on README.rst
40c5fd5c29 [IMP] connector-runner: graceful stop mechanism
b691e9c50d Wrong arguments position in a log message
bc348e0b26 Release 3.1.0
efa3ee09a5 [FIX] connector-runner: documentation typos
ba7636767c [IMP] connector-runner: tiny refactoring in channel name config
26f7164b5d [IMP] connector-runner: high level doctest for the ChannelManager
34020ba996 [IMP] connector-runner: support missing root prefix in channel names
d190f3a016 [IMP] connector-runner: doctest formatting
cd0a1ccbb5 [IMP] connector-runner: refactor handling of 'now'
aaccb042f4 [WIP] connector-runner: sphinx documentation
11b80e187b [IMP] connector-runner: remove obsolete TODO
5f02738d8d [IMP] connector-runner: handle changes in job scheduling properties
3e73b37c0b [IMP] connector-runner: remove ODOO_CONNECTOR_ENABLE environment variable
fb52ead62b [FIX] connector-runner: fix time zone issue when enqueing jobs
f39959ba90 [IMP] connector-runner: job id is a perfectly good proxy for seq
4d551caaa6 [IMP] connector-runner: tweak logging
0ce878fca9 [FIX] connector-runner: use string type for datetime
1248f26dc1 [IMP] connector-runner: do not NOTIFY when deleting done jobs
8270b17db6 [IMP] connector-runner: more new-style classes
f46f915123 [FIX] connector-runner: do not attempt to auto-create/auto-configure channels
29241fc3f9 Show the channels full names in the logs
4f45096bcc Add security rights
00ed326271 Allow to configure the channels on the job functions
0864c26bf7 [IMP] connector-runner: don't let applications reconfigure the root channel
a546d84260 [IMP] connector-runner: cosmetics
44de9d9396 [IMP] connector-runner: no need to have the db_name in payload notification
8ae008bef1 [IMP] connector-runner: children channels in a dictionnary instead of a list
b0d44c4c23 [IMP] connector-runner: add a TODO about databases on which connector is installed after server start
8b871fdc6c [IMP] connector-runner: rename worker to capacity, plus a few more tests
ee24ab6223 [FIX] connector-runner: add requests in external_dependencies
cb8bdb31cc [IMP] connector-runner: use new style classes
0558a3d5dd [FIX] connector-runner: fix doc tests that were failing following the addition of db_name
8a6da3056a Loads the doctests in unittests
6cacb2ee2d [FIX] odoo-connector-runner: round date_enqueued to be ORM compatible
102cf0f1b0 [IMP] odoo-connector-runner: use /connector/runjob url
55bfae642b [IMP] odoo-connector-runner: do not use Odoo in class names
372d5be412 [IMP] odoo-connector-runner: do not redefine states
d586a1b9e0 [FIX] odoo-connector-runner: set job done in the same transaction as perform
bc49d06289 [IMP] odoo-connector-runner: reconnect in case of database error
53e7269602 [WIP] odoo-connector-runner: fix a couple of pylint errors
992dc2303a [WIP] odoo-connector-runner: minor fixes and documentation
26ba3ee696 [IMP] odoo-connector-runner: multi-database
9128402669 [WIP] odoo-connector-runner: in-process runner thread should now be in good shape
a1b18bcb96 [WIP] odoo-connector-runner: autostart runner as a thread in the main Odoo server
196fd1d99f [WIP] odoo-connector-runner: channel configuration code
b60cf24d2f [IMP] odoo-connector-running: pep8 + add one TODO
71bdc57570 [IMP] odoo-connector-running: a clarification about job channels
21aed97173 [IMP] odoo-connector-running: docstring illustrating channelling algorithm
c3dbb2d4b9 [IMP] odoo-connector-running: infrastructure for job channels support
17732645bb [WIP] odoo-connector-runner: log some http get errors
2487f5dee0 [WIP] POC to replace workers by a job runner using pgsql NOTIFY/LISTEN
e3bad5052c Allow to build a ConnectorSession directly from an Odoo Environment
17184f2ac8 [IMP]Add missing SQL indexes The field state and company_id are intensively used as filter when querying the table queue_job
5ca9fce8d9 Translate in French new and fuzzy terms
543b11e4d0 Menu to select the Translations
b9bfd48928 Small change in the docs to test the build
e841237a98 Fixed the buildout name and the fuzzy support directly in the buildout
d4ff0aaa50 Add links to connector implementations
a2a05a7c34 Rename OpenERP to Odoo
e22da5938b Translation maintenance howto
59c2ced3f8 Don't confuse nose with a function which is not a test
e9def64a60 French translation
58d6940ece Changelog: set date of the release 3.0.0
54ca43215f [FIX] connector worker: jobs must be set done in same transaction as job execution
6fd071c3fc Set version 3 in __openerp__
47a2b63084 Add test on the queue.job model
a44cc68291 More tests in the Mapper, notably on Mapper with several bases
c1ceff4e0a too many blank lines
9d7f1c32fc More tests on jobs. Correct an issue on canceled jobs
f4b6612766 Add test coverage on the backend
815346789a Add test coverage on related actions
8c01722bd5 Use top notch api in tests
21586ae242 Modernize JobStorage with the new API
8540ac83dc Use openerp.fields.Datetime.to_string/from_string
df174d3ed8 Increase the test coverage on jobs
bdb880b694 Add tests on ConnectorUnit and connector functions
db7a687cb3 Add tests related to Session
810803b370 Add README.rst based on the OCA's template
8911fce5fc Add pre-release notes for 3.0.0
74ddeb0f7e Replace openerp.orm by openerp.models
0283ee907e Rename ConnectorUnit.model_name to for_model_name
f72c9174e5 Do never commit in a Session during tests
ac8aee0e4f Shorter names for the base synchronizers
e8e73db6e8 Docs: global review through eyeballing
d8e53e8e7a Remove useless calls to openerp.api.Environment.manage()
247f76d360 Update the list of authors since it is a list
92c97fa5fb Use ConnectorUnit.unit_for instead of ConnectorEnvironment.get_connector_unit
5cac220372 Rename Environment to ConnectorEnvironment
e70e7f80b2 Add a function for deprecation that log the caller of the deprecated method
ff9373205e ConnectorUnit.model is now a new-model
9bd0a1f8cf Migrate jobs to new API
28113b8c2d Config settings to new API
052a18ae2d Remove usage of session.browse in related_action
c9923d3c50 Migrate checkpoints to new API
64b0d26753 Migrate connector.backend to new API
634b11cada The pool or the context can be switched in Session,
f38f91d68a Give more details in the deprecation warnings
1027354510 Remove methods deprecated in the previous versions
5130ec9bda Shorten get_connector_unit_for_model to unit_for to be consistent with binder_for
b54de91fbb Use Session.pool instead of Session.registry to be consistent with the openerp's api
d421b42217 Replace usage of ConnectorUnit.model by ConnectorUnit.records()
51022245f3 Deprecate Environment.set_lang, session.change_context should be used instead
035b867ce8 Shorten 'get_connector_unit_for_model' to 'get_unit_for'
369a68d2a4 Rename the method 'recordset' to 'records'
5e500d26be Look for new fields in the Mapper
a9d46e2973 Add class attributes for the base ConnectorUnit classes
a80ea7c44a Rename argument to 'browse' to be consistent with unwrap_binding
7526556aae Shorten get_binder_for_model for binder_for
e2811be69d Add a record argument on the Binder
e4472411db Add ConnectorUnit.recordset, that returns a new api model/empty recordset
d9a44cf677 set_lang must generate a new env because the context is frozen
7910f239fc Reimplement change_context and change_user with the env
4089f12ff0 ConnectorUnit.env to a property to prevent it to be modified
aa23b25acd Use the Odoo Environment in Session
ddcf11ea6a Add OCA as author of OCA addons
f8893bc9a1 Argument renamed but not in the body of the method
8f968c1ed6 backend_record.get_backend *must* return a backend, not a list of backends
0073e458e4 [FIX] Filter out db that can be used by a Worker
9bb53b2a72 [FIX] #38 Filter out databases if the 'openerp-connector-worker' is tarted with the '--db-filter' parameter
249dc9d8d5 Remove deprecated fast_suite and check list for unit tests
3593ffb635 Use the new links for websites (with odoo) and for the prestashop connector
3eadbd32f1 Redefining built-in 'type'
f9374684b6 Redefining name 'job' from outer scope
5cb0a62a0f Redefining name 'watcher' from outer scope
1fc134f7d9 Silent "Statement seems to have no effect"
6618ba3baf Redefining name 'job' from outer scope
d8e1687099 [W0621(redefined-outer-name) in connector/unit/mapper.py
dc4efae9aa pep8 in sphinx config file
99c0212bde Statement with no effect
ed48d5ad3d Use relative imports
93d3421e12 [CHG][connector] Use self.ids instead of self._ids
486361abdf [FIX][connector] switch unlink of producer into the new api to avoid old/new odoo confusion
577749f7af [FIX] pep8
580bfd6259 [FIX][connector] confusion between self.env from test of connector and self.env recently added into tearDown of common.py
5a1259aaf8 name_get implementations expect a list of ids
97654364ae [IMP] Call 'only_create' mapping functions only when the mapper is called  with for_create=True
40237d8c01 make exception handling more specific
1ee07e2809 workaround for failed assertions in _worker_id
5ecee58ede replace deprecated pooler.get_pool() by registry()
d07d2706ef Fix test in order to have mock that match new API behavior
7ce54614ec Fixes #18. The init of `Environment` object is broken as backend model are now new Odoo API model. The result  of function `get_backend` is mapped to a list so we have a list of `backend.Backend` object (not model) It seems is possible to have correct result using decorator and downgrade keywork but I do not like it.
7b67e03d0c Remove the `type` field as is deprecated in the `ir.ui.view` model.
4140fc84dd Fix TypeError: not all arguments converted during string formatting
d93dfc7f0c Shorten lines longer than 79 chars
aad0d142af [FIX] migrate openerp-connecto-worker to V8
589753f04c [FIX] Main Worker's loop must run in a managed environment for the new api (make delay run)
0c59d41d2f [FIX] BaseModel is not comparable since '_ids' is not initialized by default (maybe an odoo bug)
b1c6e86f9f [PEP8] -max-line-length=80
8fbe54259a [PEP8]
b859427f33 [FIX] Worker must run in a managed environment for the new api
467377e59c [FIX] Tests not working with travis due to 'ImportError: cannot import name api'. Try to fix the tests by avoiding the direct import
bf28ce11f4 [FIX] write and create functions of BaseModel patched by the producers of events in 'connector.producer' are ǹew style functions...
7550c450d9 [FIX] When determining the name of the field mapped by a function in the direct mappings, the argument order seems to be not enforced by python in the closure so we use the first non ca…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants