Skip to content

[18][MIG] server_environment_data_encryption #226

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

Merged

Conversation

florian-dacosta
Copy link
Contributor

Standard migration
There is some changes in the module because it seems that custom context (environment key here) are not passed to get_views method.
Because of this, we can't manage a different key for the ormcache to manage 1 different view per environment.

So the strategy here is to build a single view with all environment buttons/alert with invisible attributes depending on the context.

florian-dacosta and others added 30 commits April 2, 2025 18:58
…to 14.0

note: exclude tests/fixtures from pre-commit check
Fallback to normal server env behavior and log a warning.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-env-14.0/server-env-14.0-server_environment_data_encryption
Translate-URL: https://translation.odoo-community.org/projects/server-env-14-0/server-env-14-0-server_environment_data_encryption/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-env-16.0/server-env-16.0-server_environment_data_encryption
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment_data_encryption/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-env-16.0/server-env-16.0-server_environment_data_encryption
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment_data_encryption/
Currently translated at 100.0% (5 of 5 strings)

Translation: server-env-16.0/server-env-16.0-server_environment_data_encryption
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment_data_encryption/es/
@florian-dacosta florian-dacosta force-pushed the 18.0-mig-server_environment_data_encryption branch from 5ebef16 to 38b623a Compare April 2, 2025 16:59
@bguillot
Copy link

bguillot commented Apr 2, 2025

Code review + test

Copy link
Contributor

@hparfr hparfr left a comment

Choose a reason for hiding this comment

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

Tested with mail_environment, works as expected

@rvalyi
Copy link
Member

rvalyi commented Apr 3, 2025

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-226-by-rvalyi-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 00d6699 into OCA:18.0 Apr 3, 2025
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 7d6a476. 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.