Skip to content
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

[16.0][ADD] queue_job_chunk: add module #737

Open
wants to merge 18 commits into
base: 16.0
Choose a base branch
from

Conversation

clementmbr
Copy link
Member

Adds the notion of queue job chunks, essentially a queue job with some metadata.
Useful to store the JSON received by an API request before their treatment in Odoo.

cc @florian-dacosta @kevinkhao @bealdav @sebastienbeau @rvalyi

@clementmbr
Copy link
Member Author

@bealdav following your suggestion I moved the PR OCA/sale-channel#20 to this repo.
@rvalyi I squashed the commit and cleaned history

@clementmbr clementmbr force-pushed the 16-add_queue_job_chunk branch from f76736b to df8afc2 Compare January 17, 2025 16:15
@clementmbr clementmbr marked this pull request as ready for review January 17, 2025 16:15
except RetryableJobError:
raise
except Exception as e:
if DEBUG_MODE:
Copy link
Member Author

Choose a reason for hiding this comment

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

@kevinkhao coming back to your remark on the last PR, what do you mean by :
if "pdb" in config.get("dev_mode"): ?

I've never seen something like this, but I'll be happy to learn with an example!
Thanks!

Choose a reason for hiding this comment

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

@clementmbr
odoo-bin --dev=pdb will evaluate to True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants