Skip to content

Conversation

@SilvioC2C
Copy link
Contributor

@SilvioC2C SilvioC2C commented Dec 3, 2024

Depends on OCA/web-api#75

simahawk and others added 30 commits December 3, 2024 12:14
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.
It's very handy to know which endpoint generated a record.
JordiBForgeFlow and others added 15 commits December 3, 2024 12:14
Moved from OCA/edi repository
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/
@gurneyalex
Copy link
Member

I re-triggered the build, likely the package for endpoint had not been uploaded to pypi.

@gurneyalex
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 17.0-ocabot-merge-pr-124-by-gurneyalex-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit 5374b5b into OCA:17.0 Dec 4, 2024
4 of 6 checks passed
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.