-
-
Notifications
You must be signed in to change notification settings - Fork 534
[12.0] Backport of 13.0 multiple improvements #333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
68bf8ea
Add job_serialized in IrModelFields.ttype selection
b15cc72
Store worker's PID when a job is started
b3283ed
[ADD] check that queue_job_notify trigger exists
nilshamerlinck 87d14e5
[ADD] queue_job: innocuous test job for debugging/monitoring purposes
nilshamerlinck 08379a8
Added etree._Element to Json encoder/decoder
PCatinean a27ec44
Deprecate job decorators
8f612ae
Rebind job functions/channels with same name during install
e9fa6d8
Update documentation for deprecation of decorators
69fa9de
Add safety to prevent crafting queue.job records
1aed350
Replace job function name by model + method fields
649db1a
Add missing sudo() when reading queue.job.function
e907305
Add method to patch a method to be automatically delayed
7973b90
Remove warning when @job decorator is used
210912e
Refactor user_id,model_name,record_ids fields on queue.job
b3637d8
Store 'su' flag in records stored in JobSerialized fields
daebed4
[FIX] queue_job: USAGE update
atchuthan 7078a4e
Fix required sudo in Job
8ad976f
[FIX] run doctests as part of standard tests
nilshamerlinck de467d9
Change technical fields to read-only
a6f9ef1
Remove initial create notification and follower
ad20a1e
Optimize queue.job creation
438e8e8
Add model in search view / group by
034f98a
Fix date_done set when state changes back to pending
d8fd099
queue_job: add exec time to view some stats
simahawk 1a4b6fa
queue_job: close buffer when done
simahawk e74f44d
queue_job: store exception name and message
simahawk cd34099
queue_job: improve filtering and grouping
simahawk 849ed23
queue_job: add hook to customize stored values
simahawk e748d71
queue_job: migration step to store exception data
simahawk 7d5e536
[BPRT] Final issues for the backport
etobella 523ab52
[FIX] queue_job: Fix migration script
etobella c17a6a9
Fix display on exec_time on tree view as seconds
guewen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <odoo noupdate="1"> | ||
| <record id="job_function_queue_job__test_job" model="queue.job.function"> | ||
| <field name="model_id" ref="queue_job.model_queue_job" /> | ||
| <field name="method">_test_job</field> | ||
| </record> | ||
| </odoo> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is strange. In 13.0, this code is added by #265 by @nilshamerlinck (and as such also present in #330), but in your git history it is attributed to @guewen as part of 7385fd5.
I'm getting the feeling that maybe these backports should be split up in separate PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I did something wrong with the commits. I will recheck thanks 😉