OCA / server-env

Tools to manage environment-dependent configuration
GNU Affero General Public License v3.0
57 stars 162 forks source link

[FIX] Update server_env_mixin.py to allow mail_environment migration #89

Closed JuMiSanAr closed 3 years ago

JuMiSanAr commented 3 years ago

Fixup to server_environment to allow prevent error NoneType in server_env_mixin.py. This change is necessary to proceed with PR #82.

Context:

fields.arg can be None thus copy() will fail. Those circumstances are met when adding module mail_environment

simahawk commented 3 years ago

/ocabot merge patch

OCA-git-bot commented 3 years ago

On my way to merge this fine PR! Prepared branch 15.0-ocabot-merge-pr-89-by-simahawk-bump-patch, awaiting test results.

OCA-git-bot commented 3 years ago

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