Skip to content

[15.0] server_environment: Fix value assignation in compute from default#184

Merged
OCA-git-bot merged 1 commit intoOCA:15.0from
grindtildeath:15.0-fix-server_env_compute_from_default
Jun 25, 2024
Merged

[15.0] server_environment: Fix value assignation in compute from default#184
OCA-git-bot merged 1 commit intoOCA:15.0from
grindtildeath:15.0-fix-server_env_compute_from_default

Conversation

@grindtildeath
Copy link
Contributor

No description provided.

@gurneyalex gurneyalex added this to the 15.0 milestone Jun 24, 2024
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 15.0-fix-server_env_compute_from_default branch from 2489d74 to 8343e8c Compare June 24, 2024 16:48
@gurneyalex
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 15.0-ocabot-merge-pr-184-by-gurneyalex-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit c7c2d94 into OCA:15.0 Jun 25, 2024
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 14700b2. 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 8343e8c.
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 8343e8c.

The fix would break other addons using the feature. The original issue
must be fixed in mail_environement.
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