Commit Graph

6 Commits

Author SHA1 Message Date
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