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

[18.0][MIG] edi_endpoint_oca #130

Merged
merged 51 commits into from
Mar 14, 2025
Merged

Conversation

JordiMForgeFlow
Copy link
Contributor

@JordiMForgeFlow JordiMForgeFlow commented Dec 17, 2024

@dnplkndll
Copy link

@JordiMForgeFlow the dependancies on this get merged?

@JordiMForgeFlow
Copy link
Contributor Author

@dnplkndll the only missing is OCA/web-api#78

@simahawk simahawk self-requested a review January 31, 2025 09:48
simahawk and others added 26 commits January 31, 2025 12:13
Block archiving of backends if they have active endpoints exposed.
* more efficient w/ read_group
* consider only active records explicitly
I don't know why but  when test_edi_endpoint runs before these tests
the rollback of the exception catched within the test `test_archive_check`
make the controller lookup fail.
Since the whole routing registry machinery is going to be refactored
in OCA/edi#633
let's survive w/ this forced registration for now.
Former version of `endpoint_route_handler` had a major flaw:

routing rule registry was not properly shared across workers
forcing us to restart the instance to make sure all envs were inline w/
it.

This change adapts edi_endpoint_oca to the new version which contains
some refactoring.
JordiMForgeFlow and others added 16 commits January 31, 2025 12:13
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: edi-framework-16.0/edi-framework-16.0-edi_endpoint_oca
Translate-URL: https://translation.odoo-community.org/projects/edi-framework-16-0/edi-framework-16-0-edi_endpoint_oca/
The new mixin view won't be affected by weird extensions.

Requires OCA/web-api#56
Solves conflict w/ OCA/web-api-contrib#1
Currently translated at 1.9% (1 of 51 strings)

Translation: edi-framework-16.0/edi-framework-16.0-edi_endpoint_oca
Translate-URL: https://translation.odoo-community.org/projects/edi-framework-16-0/edi-framework-16-0-edi_endpoint_oca/it/
Currently translated at 100.0% (51 of 51 strings)

Translation: edi-framework-16.0/edi-framework-16.0-edi_endpoint_oca
Translate-URL: https://translation.odoo-community.org/projects/edi-framework-16-0/edi-framework-16-0-edi_endpoint_oca/it/
edi.endpoint views must be independent
that's why primary mode is used.
endpoint.endpoint views might be polluted
by other modules: this change ensures they are isolated.

Depends on  OCA/web-api#87
If record field value is already True, impossible to sync the registry
@JordiMForgeFlow JordiMForgeFlow force-pushed the 18.0-mig-edi_endpoint_oca branch from 2423c4c to 4535120 Compare January 31, 2025 11:13
@JordiBForgeFlow
Copy link
Member

@simahawk could you merge this one?

@JordiBForgeFlow
Copy link
Member

@simahawk @etobella can you merge this one?

@simahawk
Copy link
Contributor

/ocabot migration edi_endpoint_oca
/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Mar 14, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Mar 14, 2025
4 tasks
@OCA-git-bot OCA-git-bot merged commit a08dcb4 into OCA:18.0 Mar 14, 2025
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@JordiBForgeFlow
Copy link
Member

JordiBForgeFlow commented Mar 14, 2025 via email

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.

10 participants