Commit Graph

6 Commits

Author SHA1 Message Date
Guewen Baconnier 17a51fdcef 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.
2020-10-12 10:40:13 +02:00
Stéphane Bidoul (ACSONE) 2dd9150dc3 pre-commit, black, isort 2020-10-12 10:40:13 +02:00
Akim Juillerat 6ac8fdfc63 server-environment: Run pre-commit 2020-10-12 10:40:13 +02:00
Akim Juillerat d5ee5a1e28 server_environment: lint fixes after migration 2020-10-12 10:40:13 +02:00
Stéphane Bidoul (ACSONE) 2b78d3e8d3 pre-commit, black, isort 2020-10-12 10:40:13 +02:00
Akim Juillerat 67b8114071 Rename file to attend TODO comment 2020-10-12 10:40:13 +02:00