Skip to content

[18.0][IMP] edi_core: add global events handling via edi.conf#275

Merged
OCA-git-bot merged 10 commits into
18.0from
18-core-listeners
May 20, 2026
Merged

[18.0][IMP] edi_core: add global events handling via edi.conf#275
OCA-git-bot merged 10 commits into
18.0from
18-core-listeners

Conversation

@simahawk
Copy link
Copy Markdown
Contributor

@simahawk simahawk commented May 14, 2026

Replaces #232
See atomic commits and updated docs for details 😉
Long story short: we now have global events, that means we can avoid using component_event if not required.

@OCA-git-bot OCA-git-bot added series:18.0 mod:edi_core_oca Module edi_core_oca mod:edi_component_oca Module edi_component_oca labels May 14, 2026
@OCA-git-bot
Copy link
Copy Markdown
Contributor

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

ArnauCForgeFlow and others added 9 commits May 14, 2026 13:04
Global configurations can be used to catch generic events not bound to specific partner releations.
As such, they are the core framework replacement for component events.

Co-authored-by: Arnau <arnau.cruz@forgeflow.com>
Co-authored-by: Arnau <arnau.cruz@forgeflow.com>
* full matching by type, backend and model
* full test coverage
No comparison if backend is not set or type is not set.
@simahawk
Copy link
Copy Markdown
Contributor Author

@ArnauCForgeFlow @etobella could you please have a look at this? 😇

Comment thread edi_component_oca/models/edi_exchange_record.py
Copy link
Copy Markdown
Contributor

@yankinmax yankinmax left a comment

Choose a reason for hiding this comment

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

Thank you @simahawk

The event name would be prefixed 2 times when calling super.
Copy link
Copy Markdown
Contributor

@ArnauCForgeFlow ArnauCForgeFlow left a comment

Choose a reason for hiding this comment

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

LGTM. Reimplemented edi_storage_oca done/error listener on top of this, works nicely

@OCA-git-bot
Copy link
Copy Markdown
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). 🤖

Copy link
Copy Markdown
Contributor

@ivantodorovich ivantodorovich left a comment

Choose a reason for hiding this comment

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

LG

@simahawk
Copy link
Copy Markdown
Contributor Author

/ocabot merge minor

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-275-by-simahawk-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 5d1beba into 18.0 May 20, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

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

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