Commit Graph

99 Commits

Author SHA1 Message Date
Marcos Oitabén Fernández 8546310d21
Merge 0fe89fc336 into b37b684d6c 2024-01-08 10:22:45 +01:00
Marcos Oitaben 0fe89fc336 [17.0-mig-server] [FIX]server_environment_ir_config_parameter: Fix attributes in XML view 2024-01-08 10:22:10 +01:00
OCA-git-bot b37b684d6c [BOT] post-merge updates 2024-01-08 08:39:21 +00:00
oca-ci 753baf3b26 [UPD] Update server_environment.pot 2024-01-08 08:37:35 +00:00
OCA-git-bot 9c834bf7a2 Merge PR #168 into 17.0
Signed-off-by gurneyalex
2024-01-08 08:36:00 +00:00
Marcos Oitaben 35e6ef913a [17.0][FIX]server_environment: custom fields must start with x_ 2023-11-15 14:43:38 +01:00
Marcos Oitaben 0c4000167d [MIG] server_environment_ir_config_parameter: Migration to 17.0 2023-11-15 10:31:46 +01:00
Marcos Oitaben 344d6a7582 [MIG] server_environment: Migration to 17.0 2023-11-14 14:13:43 +01:00
Marcos Oitaben 688ad644a2 [IMP] server_environment_ir_config_parameter: pre-commit stuff 2023-11-13 09:49:24 +01:00
Ivorra78 2305c025bb Translated using Weblate (Spanish)
Currently translated at 100.0% (4 of 4 strings)

Translation: server-env-16.0/server-env-16.0-server_environment_ir_config_parameter
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment_ir_config_parameter/es/
2023-11-13 09:49:24 +01:00
Mmequignon e1fe05c712 server_environment_ir_config_parameter: Fix create/write overrides 2023-11-13 09:49:24 +01:00
Alexandre Fayolle 30b9a58915 [FIX] server_environment_ir_config_parameter
fix a conflict between this module and mail which overrides the reading
of some mail related system parameters
2023-11-13 09:49:24 +01:00
Sylvain LE GAL 0d5d0c30f5 [IMP] server_environmnet_ir_config_parameter: display in the config parameter list and form views the new field is_environment, and make the key and values readonly if checked 2023-11-13 09:49:24 +01:00
Benoit Aimont b366a4bdcb [MIG] server_environment_ir_config_parameter: Migration to 16.0 2023-11-13 09:49:24 +01:00
jsanchez ec896af983 [MIG] Migration to version 15.0 2023-11-13 09:49:24 +01:00
sbejaoui 2b740922a9 [14.0][MIG] - migration server_environment_ir_config_parameter 2023-11-13 09:49:24 +01:00
Akim Juillerat 193f88ddac [IMP] server_environment_ir_config_parameter: black, isort 2023-11-13 09:49:24 +01:00
Akim Juillerat f02e50dd0b [MIG] server_environment_ir_config_parameter: Migration to 13.0 2023-11-13 09:49:24 +01:00
Thierry Ducrest ae201ae666 [MIG] fix tests
Manual forward port of 11.0 migration commit by Thierry Ducrest.
2023-11-13 09:49:24 +01:00
Gilles Meyomesse 0c2ea10038 [MIG] server_environment_ir_config_parameter from 11 to 12 2023-11-13 09:49:24 +01:00
Adrien Peiffer (ACSONE) d340268b9a server_environment_ir_config_parameter: missing return. 2023-11-13 09:49:24 +01:00
Stéphane Bidoul (ACSONE) 29c9388efe missing sudo in server_environment_ir_config_param
Without this sudo get_param would fail when the first user reading a parameter that has changed in the configuration file does not have write access to system parameters.
2023-11-13 09:49:24 +01:00
Denis Roussel 25ab5232cb server_environment_ir_config_parameter Avoid loading import
Odoo loads modules that contain static directory, so it wanted to load server_environment_files but it does not exist
2023-11-13 09:49:24 +01:00
Stéphane Bidoul (ACSONE) 19123364b8 server_environment_ir_config_parameter: migrate to 10.0 2023-11-13 09:43:17 +01:00
Stéphane Bidoul (ACSONE) 8b7b3b90ec server_environment_ir_config_parameter: update roadmap 2023-11-13 09:43:17 +01:00
Stéphane Bidoul (ACSONE) 5e64016eb4 server_environment_ir_config_param: silently replace values by config values
This is much more robust that raising an error, and let modules
load ir.config_parameter from xml data files, while still enforcing
values from the config files.
2023-11-13 09:43:17 +01:00
Stéphane Bidoul (ACSONE) 17036b541e server_environment_ir_config_parameter: handle empty values better 2023-11-13 09:43:17 +01:00
Stéphane Bidoul (ACSONE) b7ab912369 server_environment_ir_config_parameter: work around double ormcache issue 2023-11-13 09:43:17 +01:00
Stéphane Bidoul (ACSONE) 4041930025 server_environment_ir_config_parameter 2023-11-13 09:43:17 +01:00
Marcos Oitaben 1748ef0a01 [IMP] server_environment: pre-commit stuff 2023-11-13 08:34:15 +01:00
Ivorra78 3bdf064def Translated using Weblate (Spanish)
Currently translated at 100.0% (107 of 107 strings)

Translation: server-env-16.0/server-env-16.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment/es/
2023-11-13 08:34:15 +01:00
Stéphane Bidoul 399d7aef0c Cache get_serverenvironment() 2023-11-13 08:34:15 +01:00
Stéphane Bidoul 9d7e6fe8b9 [FIX] don't use deprecated get_default_locale 2023-11-13 08:34:15 +01:00
Ivorra78 22425ec8ff Translated using Weblate (Spanish)
Currently translated at 65.4% (70 of 107 strings)

Translation: server-env-16.0/server-env-16.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment/es/
2023-11-13 08:34:15 +01:00
Francesco Foresti b2f9c69a65 Translated using Weblate (Italian)
Currently translated at 6.5% (7 of 107 strings)

Translation: server-env-16.0/server-env-16.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment/it/
2023-11-13 08:34:15 +01:00
Quentin Groulard e90a7555fb [IMP] Server env default fields string
Not all fields have their string in the args, but '.string' returns the computed (based on field name) string if not set in the args.
2023-11-13 08:34:15 +01:00
Simone Orsi 8df08c4ecc server_env: fix inverse method (closes #151)
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute.
Unfortunately with ``partialmethod`` this attribute is not propagated
even by using ``functools.update_wrapper``.
In any case, `update_wrapper` would propagate the wrapped func name
which is not the same here.

Introduced by 36544651f2
2023-11-13 08:34:15 +01:00
Ivàn Todorovich d847929adb [IMP] server_environment: don't print stack trace when the field can't be read 2023-11-13 08:34:15 +01:00
Simone Orsi 5900959de7 server_environment: do not copy tech_name 2023-11-13 08:34:15 +01:00
Guewen Baconnier 82237b9503 Remove required from tech_name mixin
In some cases, we want to use a tech_name, but we do not use server
environment on all the records, so tech_name should not be required.
2023-11-13 08:34:15 +01:00
Maxime Franco f9f1cdc5dd [MIG] server_environment: Migration to 16.0 2023-11-13 08:34:15 +01:00
Maxime Franco 9d1453d5e6 [IMP] server_environment: black, isort, prettier 2023-11-13 08:34:15 +01:00
Adrien Peiffer ef20d82588 server_environment: Update default fields label
this to avoid Odoo warning messages on labels check
2023-11-13 08:34:15 +01:00
Alexandre Fayolle 97c4c5b829 15.0 server_environment is Production/Stable
server_environment is a dependency of other modules which are in this status
and now that we are checking this, we need to declare the maturity
explicitly
2023-11-13 08:34:15 +01:00
jsanchez cae9e7df22 [FIX] Update server_env_mixin.py to avoid NoneType error 2023-11-13 08:34:15 +01:00
jsanchez 73b77ae3f7 [MIG] server_environment: migration to 15.0 2023-11-13 08:34:15 +01:00
Ivàn Todorovich 742b1f09d3 [UPD] Change LICENSE to LGPL 2023-11-13 08:34:15 +01:00
Mat-moran e2238bc08c Translated using Weblate (Spanish)
Currently translated at 9.1% (9 of 98 strings)

Translation: server-env-14.0/server-env-14.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-14-0/server-env-14-0-server_environment/es/
2023-11-13 08:34:15 +01:00
Stéphane Bidoul (ACSONE) 0cd268be3f Translated using Weblate (French)
Currently translated at 8.1% (8 of 98 strings)

Translation: server-env-14.0/server-env-14.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-14-0/server-env-14-0-server_environment/fr/
2023-11-13 08:34:15 +01:00
Mourad 20cc6000eb [MIG] server_environment: Migration to 14.0 2023-11-13 08:34:15 +01:00