Skip to content

[19.0][IMP] edi_core_oca: gracefully handle EDINotImplementedError to prevent batch failures on crons#273

Open
HviorForgeFlow wants to merge 2 commits into
OCA:19.0from
ForgeFlow:19.0-imp-edi_core_oca-skip-not-edi-implement-on-crons
Open

[19.0][IMP] edi_core_oca: gracefully handle EDINotImplementedError to prevent batch failures on crons#273
HviorForgeFlow wants to merge 2 commits into
OCA:19.0from
ForgeFlow:19.0-imp-edi_core_oca-skip-not-edi-implement-on-crons

Conversation

@HviorForgeFlow
Copy link
Copy Markdown
Member

Noticed while developing that when a exchange type is not linked to a handler and the EDINotImplementedError is raised, a DB rollback takes places undoing all previous work.

To ensure that skipping not handled exchanges does not break anything outside the cron scope I had to slightly change the exchange_generate_send method.

CC @etobella @simahawk @ForgeFlow

@OCA-git-bot
Copy link
Copy Markdown
Contributor

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

@OCA-git-bot OCA-git-bot added mod:edi_core_oca Module edi_core_oca series:19.0 mod:edi_queue_oca Module edi_queue_oca labels May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:edi_core_oca Module edi_core_oca mod:edi_queue_oca Module edi_queue_oca series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants