Skip to content

Syncing from upstream OCA/server-env (17.0) - #278

Merged
bt-admin merged 4 commits into
brain-tec:17.0from
OCA:17.0
Sep 2, 2026
Merged

Syncing from upstream OCA/server-env (17.0)#278
bt-admin merged 4 commits into
brain-tec:17.0from
OCA:17.0

Conversation

@bt-admin

@bt-admin bt-admin commented Sep 2, 2026

Copy link
Copy Markdown

bt_gitbot

qgroulard and others added 4 commits August 24, 2026 08:43
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 simahawk
@bt-admin bt-admin added the 17.0 label Sep 2, 2026
@bt-admin
bt-admin merged commit 47cafc7 into brain-tec:17.0 Sep 2, 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.

3 participants