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

[12.0][IMP] edi_oca: don't consider exchange records if jobs have been created #996

Open
wants to merge 1 commit into
base: 12.0
Choose a base branch
from

Conversation

MiquelRForgeFlow
Copy link
Contributor

If two _check_output_exchange_sync are called consecutively, one after the other, maybe due to _execute_next_action method, the following error happens:
Selection_3459
Both _check_output_exchange_sync calls detect the same exchange records, and both create same jobs. The first batch of jobs will be processed but the second ones will fail due to check of state = "new".

@OCA-git-bot
Copy link
Contributor

Hi @etobella, @simahawk,
some modules you are maintaining are being modified, check this out!

@MiquelRForgeFlow MiquelRForgeFlow force-pushed the 12.0-fix-edi-too-much-sync branch 3 times, most recently from 0d6ae86 to a2b52fc Compare June 14, 2024 13:50
@MiquelRForgeFlow MiquelRForgeFlow changed the title [IMP] edi_oca: don't consider exchange records if jobs have been created [12.0][IMP] edi_oca: don't consider exchange records if jobs have been created Jun 14, 2024
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.

None yet

2 participants