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

[14.0] server_environment: Fix value assignation in compute from default #187

Merged

Conversation

grindtildeath
Copy link
Contributor

Backport from #184

Since previous commit adding support for ssl certificate auth,
field smtp_authentication in ir.mail_server, became a field managed by
environment, when mail_environment is installed.

This field has been defined using a default value relying on the
compute_default property allowing to define a compute function,
which matches the default value of the field.

However, as the function _compute_server_env_from_default was broken,
because it did not assign the computed value to the field, the
field was empty and connection was broken.
@grindtildeath grindtildeath force-pushed the 14.0-fix-server_env_compute_from_default branch from 6af35f5 to cc56952 Compare June 24, 2024 14:58
@gurneyalex gurneyalex added this to the 14.0 milestone Jun 24, 2024
@gurneyalex
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 14.0-ocabot-merge-pr-187-by-gurneyalex-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 2574fdd into OCA:14.0 Jun 25, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

gurneyalex added a commit to gurneyalex/server-env that referenced this pull request Jun 27, 2024
Revert "server_environment: Fix value assignation in compute from default"

This reverts commit cc56952.

The fix is breaking other modules, the original problem must be fixed in
mail_environment.
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.

5 participants