diff --git a/server_environment_ir_config_parameter/README.rst b/server_environment_ir_config_parameter/README.rst index b4dcc4d..22e7cad 100644 --- a/server_environment_ir_config_parameter/README.rst +++ b/server_environment_ir_config_parameter/README.rst @@ -17,13 +17,13 @@ Server Environment Ir Config Parameter :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--env-lightgray.png?logo=github - :target: https://github.com/OCA/server-env/tree/16.0/server_environment_ir_config_parameter + :target: https://github.com/OCA/server-env/tree/17.0/server_environment_ir_config_parameter :alt: OCA/server-env .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment_ir_config_parameter + :target: https://translation.odoo-community.org/projects/server-env-17-0/server-env-17-0-server_environment_ir_config_parameter :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/server-env&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/server-env&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -38,20 +38,22 @@ Override System Parameters from server environment file. Configuration ============= -To configure this module, you need to add a section ``[ir.config_parameter]`` to -you server_environment_files configurations, where the keys are the same -as would normally be set in the Systems Parameter Odoo menu. +To configure this module, you need to add a section +``[ir.config_parameter]`` to you server_environment_files +configurations, where the keys are the same as would normally be set in +the Systems Parameter Odoo menu. -When first using a value, the system will read it from the configuration file -and override any value that would be present in the database, so the configuration -file has precedence. +When first using a value, the system will read it from the configuration +file and override any value that would be present in the database, so +the configuration file has precedence. -When creating or modifying values that are in the configuration file, the -module replace changes, enforcing the configuration value. +When creating or modifying values that are in the configuration file, +the module replace changes, enforcing the configuration value. -For example you can use this module in combination with web_environment_ribbon: +For example you can use this module in combination with +web_environment_ribbon: -.. code:: +:: [ir.config_parameter] ribbon.name=DEV @@ -67,8 +69,8 @@ Known issues / Roadmap When the user modifies System Parameters that are defined in the config file, the changes are ignored. It would be nice to display which system -parameters come from the config file and possibly make their key and value -readonly in the user interface. +parameters come from the config file and possibly make their key and +value readonly in the user interface. Bug Tracker =========== @@ -76,7 +78,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -84,26 +86,25 @@ Credits ======= Authors -~~~~~~~ +------- * ACSONE SA/NV Contributors -~~~~~~~~~~~~ +------------ -* Stéphane Bidoul (https://acsone.eu) -* Thierry Ducrest -* Gilles Meyomesse (https://acsone.eu) -* Sylvain LE GAL (https://www.twitter.com/legalsylvain) +- Stéphane Bidoul (https://acsone.eu) +- Thierry Ducrest +- Gilles Meyomesse (https://acsone.eu) +- Sylvain LE GAL (https://www.twitter.com/legalsylvain) Other credits -~~~~~~~~~~~~~ +------------- -This module is maintained by: -* Odoo Community Association +This module is maintained by: \* Odoo Community Association Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -115,6 +116,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/server-env `_ project on GitHub. +This module is part of the `OCA/server-env `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/server_environment_ir_config_parameter/models/ir_config_parameter.py b/server_environment_ir_config_parameter/models/ir_config_parameter.py index 513d880..a620fe4 100644 --- a/server_environment_ir_config_parameter/models/ir_config_parameter.py +++ b/server_environment_ir_config_parameter/models/ir_config_parameter.py @@ -10,7 +10,6 @@ SECTION = "ir.config_parameter" class IrConfigParameter(models.Model): - _inherit = "ir.config_parameter" is_environment = fields.Boolean( diff --git a/server_environment_ir_config_parameter/pyproject.toml b/server_environment_ir_config_parameter/pyproject.toml new file mode 100644 index 0000000..4231d0c --- /dev/null +++ b/server_environment_ir_config_parameter/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/server_environment_ir_config_parameter/readme/CONFIGURE.md b/server_environment_ir_config_parameter/readme/CONFIGURE.md new file mode 100644 index 0000000..50c6288 --- /dev/null +++ b/server_environment_ir_config_parameter/readme/CONFIGURE.md @@ -0,0 +1,19 @@ +To configure this module, you need to add a section +`[ir.config_parameter]` to you server_environment_files configurations, +where the keys are the same as would normally be set in the Systems +Parameter Odoo menu. + +When first using a value, the system will read it from the configuration +file and override any value that would be present in the database, so +the configuration file has precedence. + +When creating or modifying values that are in the configuration file, +the module replace changes, enforcing the configuration value. + +For example you can use this module in combination with +web_environment_ribbon: + +``` +[ir.config_parameter] +ribbon.name=DEV +``` diff --git a/server_environment_ir_config_parameter/readme/CONFIGURE.rst b/server_environment_ir_config_parameter/readme/CONFIGURE.rst deleted file mode 100644 index 03cccf5..0000000 --- a/server_environment_ir_config_parameter/readme/CONFIGURE.rst +++ /dev/null @@ -1,17 +0,0 @@ -To configure this module, you need to add a section ``[ir.config_parameter]`` to -you server_environment_files configurations, where the keys are the same -as would normally be set in the Systems Parameter Odoo menu. - -When first using a value, the system will read it from the configuration file -and override any value that would be present in the database, so the configuration -file has precedence. - -When creating or modifying values that are in the configuration file, the -module replace changes, enforcing the configuration value. - -For example you can use this module in combination with web_environment_ribbon: - -.. code:: - - [ir.config_parameter] - ribbon.name=DEV diff --git a/server_environment_ir_config_parameter/readme/CONTRIBUTORS.md b/server_environment_ir_config_parameter/readme/CONTRIBUTORS.md new file mode 100644 index 0000000..a69e986 --- /dev/null +++ b/server_environment_ir_config_parameter/readme/CONTRIBUTORS.md @@ -0,0 +1,5 @@ +- Stéphane Bidoul \<\> () +- Thierry Ducrest \<\> +- Gilles Meyomesse \<\> + () +- Sylvain LE GAL () diff --git a/server_environment_ir_config_parameter/readme/CONTRIBUTORS.rst b/server_environment_ir_config_parameter/readme/CONTRIBUTORS.rst deleted file mode 100644 index 96047e9..0000000 --- a/server_environment_ir_config_parameter/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,4 +0,0 @@ -* Stéphane Bidoul (https://acsone.eu) -* Thierry Ducrest -* Gilles Meyomesse (https://acsone.eu) -* Sylvain LE GAL (https://www.twitter.com/legalsylvain) diff --git a/server_environment_ir_config_parameter/readme/CREDITS.md b/server_environment_ir_config_parameter/readme/CREDITS.md new file mode 100644 index 0000000..a91ab79 --- /dev/null +++ b/server_environment_ir_config_parameter/readme/CREDITS.md @@ -0,0 +1 @@ +This module is maintained by: \* Odoo Community Association diff --git a/server_environment_ir_config_parameter/readme/CREDITS.rst b/server_environment_ir_config_parameter/readme/CREDITS.rst deleted file mode 100644 index c08e96d..0000000 --- a/server_environment_ir_config_parameter/readme/CREDITS.rst +++ /dev/null @@ -1,2 +0,0 @@ -This module is maintained by: -* Odoo Community Association diff --git a/server_environment_ir_config_parameter/readme/DESCRIPTION.rst b/server_environment_ir_config_parameter/readme/DESCRIPTION.md similarity index 100% rename from server_environment_ir_config_parameter/readme/DESCRIPTION.rst rename to server_environment_ir_config_parameter/readme/DESCRIPTION.md diff --git a/server_environment_ir_config_parameter/readme/ROADMAP.rst b/server_environment_ir_config_parameter/readme/ROADMAP.md similarity index 82% rename from server_environment_ir_config_parameter/readme/ROADMAP.rst rename to server_environment_ir_config_parameter/readme/ROADMAP.md index 27b704a..f01d3f2 100644 --- a/server_environment_ir_config_parameter/readme/ROADMAP.rst +++ b/server_environment_ir_config_parameter/readme/ROADMAP.md @@ -1,4 +1,4 @@ When the user modifies System Parameters that are defined in the config file, the changes are ignored. It would be nice to display which system -parameters come from the config file and possibly make their key and value -readonly in the user interface. +parameters come from the config file and possibly make their key and +value readonly in the user interface. diff --git a/server_environment_ir_config_parameter/readme/USAGE.rst b/server_environment_ir_config_parameter/readme/USAGE.md similarity index 100% rename from server_environment_ir_config_parameter/readme/USAGE.rst rename to server_environment_ir_config_parameter/readme/USAGE.md diff --git a/server_environment_ir_config_parameter/static/description/index.html b/server_environment_ir_config_parameter/static/description/index.html index db19596..7ca6374 100644 --- a/server_environment_ir_config_parameter/static/description/index.html +++ b/server_environment_ir_config_parameter/static/description/index.html @@ -369,7 +369,7 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:29c97aeb304203d7c075a8ff1295720253ea06b1f8d4fc57ef0fa71b45f3a38b !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/server-env Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/server-env Translate me on Weblate Try me on Runboat

Override System Parameters from server environment file.

Table of contents

@@ -389,16 +389,18 @@ ul.auto-toc {

Configuration

-

To configure this module, you need to add a section [ir.config_parameter] to -you server_environment_files configurations, where the keys are the same -as would normally be set in the Systems Parameter Odoo menu.

-

When first using a value, the system will read it from the configuration file -and override any value that would be present in the database, so the configuration -file has precedence.

-

When creating or modifying values that are in the configuration file, the -module replace changes, enforcing the configuration value.

-

For example you can use this module in combination with web_environment_ribbon:

-
+

To configure this module, you need to add a section +[ir.config_parameter] to you server_environment_files +configurations, where the keys are the same as would normally be set in +the Systems Parameter Odoo menu.

+

When first using a value, the system will read it from the configuration +file and override any value that would be present in the database, so +the configuration file has precedence.

+

When creating or modifying values that are in the configuration file, +the module replace changes, enforcing the configuration value.

+

For example you can use this module in combination with +web_environment_ribbon:

+
 [ir.config_parameter]
 ribbon.name=DEV
 
@@ -412,15 +414,15 @@ server_environment module.

Known issues / Roadmap

When the user modifies System Parameters that are defined in the config file, the changes are ignored. It would be nice to display which system -parameters come from the config file and possibly make their key and value -readonly in the user interface.

+parameters come from the config file and possibly make their key and +value readonly in the user interface.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -442,8 +444,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Other credits

-

This module is maintained by: -* Odoo Community Association

+

This module is maintained by: * Odoo Community Association

Maintainers

@@ -452,7 +453,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

This module is part of the OCA/server-env project on GitHub.

+

This module is part of the OCA/server-env project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.