Commit Graph

12 Commits

Author SHA1 Message Date
Maxime Franco b63ea4b3c0 [MIG] server_environment: Migration to 16.0 2022-10-19 13:46:01 +02:00
jsanchez 21dff0683d [MIG] server_environment: migration to 15.0 2022-10-04 11:11:51 +02:00
Ivàn Todorovich ef50f9fd7e [UPD] Change LICENSE to LGPL 2022-10-04 11:11:51 +02:00
Mourad 7a2db778d7 [MIG] server_environment: Migration to 14.0 2022-10-04 11:11:51 +02:00
Olar Alca [Vauxoo] cdb9ec25d9 Update server_environment/serv_config.py
Co-authored-by: Moises Lopez - https://www.vauxoo.com/ <moylop260@vauxoo.com>
2022-10-04 11:11:51 +02:00
Simone Orsi aab642738a server_environment: running_env default to `test` (fix #44) 2022-10-04 11:11:51 +02:00
Guewen Baconnier 4e8545c89b 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.
2022-10-04 11:11:51 +02:00
Stéphane Bidoul (ACSONE) 6ee2098cfd pre-commit, black, isort 2022-10-04 11:11:51 +02:00
Akim Juillerat d1a9ffcd8f server-environment: Run pre-commit 2022-10-04 11:11:51 +02:00
Akim Juillerat f2635e84e4 server_environment: lint fixes after migration 2022-10-04 11:11:51 +02:00
Stéphane Bidoul (ACSONE) 40132984fd pre-commit, black, isort 2022-10-04 11:11:51 +02:00
Akim Juillerat 288ef1ced9 Rename file to attend TODO comment 2022-10-04 11:11:51 +02:00