-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
[16.0] [MIG] server_environment_ir_config_parameter #121
[16.0] [MIG] server_environment_ir_config_parameter #121
Conversation
Hey @baimont, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
78db10e
to
e5539b9
Compare
@@ -0,0 +1,6 @@ | |||
<odoo> | |||
<record model="ir.config_parameter" id="some_record_id"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be something else, no? some_record_id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's just for tests - the xml_id is not important. what matters is the key and value
e5539b9
to
513e47e
Compare
/ocabot migration server_environment_ir_config_parameter |
Hello @baimont |
Hello @florian-dacosta, I cherry-picked the commit you refer to. Thanks for your review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit acca2a2 to remove and we are good. |
… values This is much more robust that raising an error, and let modules load ir.config_parameter from xml data files, while still enforcing values from the config files.
Odoo loads modules that contain static directory, so it wanted to load server_environment_files but it does not exist
Without this sudo get_param would fail when the first user reading a parameter that has changed in the configuration file does not have write access to system parameters.
Manual forward port of 11.0 migration commit by Thierry Ducrest.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-env-12.0/server-env-12.0-server_environment_ir_config_parameter Translate-URL: https://translation.odoo-community.org/projects/server-env-12-0/server-env-12-0-server_environment_ir_config_parameter/
Before, the values used in the tests were coming from server_environment_files_sample that were made available using a symbolic link in .travis.yml. Now, it's loaded dynamically at test execution.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-env-13.0/server-env-13.0-server_environment_ir_config_parameter Translate-URL: https://translation.odoo-community.org/projects/server-env-13-0/server-env-13-0-server_environment_ir_config_parameter/
…arameter list and form views the new field is_environment, and make the key and values readonly if checked
a8b5715
to
ef1f8ac
Compare
done |
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 73d72ca. Thanks a lot for contributing to OCA. ❤️ |
#120
depends on #122