Skip to content

Syncing from upstream OCA/server-env (18.0) - #271

Merged
bt-admin merged 6 commits into
brain-tec:18.0from
OCA:18.0
Jul 28, 2026
Merged

Syncing from upstream OCA/server-env (18.0)#271
bt-admin merged 6 commits into
brain-tec:18.0from
OCA:18.0

Conversation

@bt-admin

Copy link
Copy Markdown

bt_gitbot

qgroulard and others added 6 commits April 2, 2026 15:07
Helper function typically used for hooks and migration scripts.
Restores database values for fields transitioning to 'server env managed'.

When a field is defined as managed by the server environment, Odoo
ignores the value stored in the database, prioritizing the environment
configuration instead. If no environment configuration exists, the field
may effectively lose its previous value.

This method forces to 'persist' these values if they are not
explicitly overridden by the current environment configuration.
…cation"

To preserve the value of field "smtp_authentication" if we don't set it from
the environment.
Which may happen to anyone updating the sources of mail_environment for its project.
Signed-off-by sbidoul
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-env-18.0/server-env-18.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-18-0/server-env-18-0-server_environment/
@bt-admin bt-admin added the 18.0 label Jul 28, 2026
@bt-admin
bt-admin merged commit a171215 into brain-tec:18.0 Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants