Commit Graph

11 Commits

Author SHA1 Message Date
jsanchez dfad546839 [MIG] server_environment: migration to 15.0 2021-10-22 13:03:14 +02:00
Ivàn Todorovich 03012cfd41 [UPD] Change LICENSE to LGPL 2021-10-22 13:03:14 +02:00
Mourad 90699e1cf3 [MIG] server_environment: Migration to 14.0 2021-10-22 13:03:14 +02:00
Olar Alca [Vauxoo] 2ce25842bf Update server_environment/serv_config.py
Co-authored-by: Moises Lopez - https://www.vauxoo.com/ <moylop260@vauxoo.com>
2021-10-22 13:03:14 +02:00
Simone Orsi 41c6f4a881 server_environment: running_env default to `test` (fix #44) 2021-10-22 13:03:14 +02:00
Guewen Baconnier fd8697bbb8 Store the 'server.config' fields in sparse fields
This model is used only to display the configuration to authorized
users. It's a TransientModel that dynamically creates the fields for
every odoo configuration parameter, environment variables and some
system ones. Before this change, each new parameter/variable will
create a field in database, which can lead to many issues (lot of
fields, field name too long). Storing the fields in a single JSON
field resolves these issues and is much cleaner anyway.
2021-10-22 12:35:41 +02:00
Stéphane Bidoul (ACSONE) 3e14d18801 pre-commit, black, isort 2021-10-22 12:35:41 +02:00
Akim Juillerat 7a733042b3 server-environment: Run pre-commit 2021-10-22 12:35:41 +02:00
Akim Juillerat 5931ab5614 server_environment: lint fixes after migration 2021-10-22 12:35:41 +02:00
Stéphane Bidoul (ACSONE) 9cba48fbd3 pre-commit, black, isort 2021-10-22 12:35:41 +02:00
Akim Juillerat 43211b691a Rename file to attend TODO comment 2021-10-22 12:35:41 +02:00