You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.6 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ======================================
  5. Server Environment Ir Config Parameter
  6. ======================================
  7. Override System Parameters from server environment file.
  8. Before using this module, you must be familiar with the
  9. server_environment module.
  10. Installation
  11. ============
  12. There is no specific installation instruction for this module.
  13. Configuration
  14. =============
  15. To configure this module, you need to add a section ``[ir.config_parameter]`` to
  16. you server_environment_files configurations, where the keys are the same
  17. as would normally be set in the Systems Parameter Odoo menu.
  18. When first using a value, the system will read it from the configuration file
  19. and override any value that would be present in the database, so the configuration
  20. file has precedence.
  21. When creating or modifying values that are in the configuration file, the
  22. module replace changes, enforcing the configuration value.
  23. For example you can use this module in combination with web_environment_ribbon:
  24. .. code::
  25. [ir.config_parameter]
  26. ribbon.name=DEV
  27. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  28. :alt: Try me on Runbot
  29. :target: https://runbot.odoo-community.org/runbot/149/10.0
  30. Known issues / Roadmap
  31. ======================
  32. * When the user modifies System Parameters that are defined in the config
  33. file, the changes are ignored. It would be nice to display which system
  34. parameters come from the config file and possibly make their key and value
  35. readonly in the user interface.
  36. Bug Tracker
  37. ===========
  38. Bugs are tracked on `GitHub Issues
  39. <https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
  40. check there if your issue has already been reported. If you spotted it first,
  41. help us smashing it by providing a detailed and welcomed feedback.
  42. Credits
  43. =======
  44. Images
  45. ------
  46. * Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
  47. Contributors
  48. ------------
  49. * Stéphane Bidoul <stephane.bidoul@acsone.eu>
  50. Maintainer
  51. ----------
  52. .. image:: https://odoo-community.org/logo.png
  53. :alt: Odoo Community Association
  54. :target: https://odoo-community.org
  55. This module is maintained by the OCA.
  56. OCA, or the Odoo Community Association, is a nonprofit organization whose
  57. mission is to support the collaborative development of Odoo features and
  58. promote its widespread use.
  59. To contribute to this module, please visit https://odoo-community.org.