Commit Graph

26 Commits

Author SHA1 Message Date
a34d880721 added option custom_addon in config.yaml 2025-05-27 07:52:50 +02:00
Rémy Taymans
95f58f3a9f [FIX] generate_odoo_command_options docstring 2025-01-31 13:23:38 +01:00
Simon Maillard
d595c6584c [IMP] split generate_odoo_command
In 2 functions:

-  generate_odoo_command_options
-  generate_odoo_command

To be able to use generate_odoo_command_options from other places
2025-01-31 13:23:38 +01:00
Simon Maillard
437cf41d4a [IMP] Litte code improvment, Removes useless transtyping 2024-08-22 09:06:08 +02:00
Simon Maillard
39f70d1012 [FIX] allow to run multiple post-*py by step
Like:
scripts/step_01__regular__12.0/01-post-migration-uninstall-modules.py
scripts/step_01__regular__12.0/02-post-migration-fix-project-issues.py
scripts/step_01__regular__12.0/03-post-migration-fix-mail-aliases.py
scripts/step_01__regular__12.0/04-fix-misc-inconsistant-records.py
2024-08-21 10:12:14 +02:00
hugues de keyzer
560f4f5485 publish docker ports only when needed 2024-04-30 15:10:43 +02:00
hugues de keyzer
58bc87380d add database name to container name 2024-04-10 17:15:21 +02:00
Sylvain LE GAL
a73de5f240 [REF] apply f-string to improve readability 2024-03-23 20:53:57 +01:00
Sylvain LE GAL
7b5f922c61 [REF] remove useless commented code 2024-03-23 20:51:18 +01:00
Sylvain LE GAL
f75821c2bc [FIX] Do not crash silently, when a repos.yml file reference an empty addons folder.
Step to reproduce :
- run a V15 instance
- add a reference to 'OCA/geospatial' repo that doesn't contain any odoo module.
As a result, Odoo will exit with the following error:
    odoo-bin: error: option --addons-path: the path '/odoo_env/src/OCA/geospatial' is not a valid addons directory

To avoid such problem, and avoid to have to remove empty repository
(that could become non empty in the future, and contains some migrations scripts),
- we reimplement a version of the odoo function _is_addons_path (odoo/odoo/tools/config.py)
- we add an info log :
    Skipping addons path '.../src/env_15.0/src/OCA/geospatial'  because it doesn't contain any odoo module.
2024-03-01 13:47:26 +01:00
Rémy Taymans
6a36c97ee4 Use last python image for linting
The linting check can be done on any docker image with the latest python
version.

This updates de pre-commit checks and fix file linting to conform to new
standards.
2023-11-09 17:02:24 +01:00
Sylvain LE GAL
a56d9cdf0c [REF] trivial refacgtoring avoid to compute odoo_folder for each key in data.keys() 2022-11-10 20:52:40 +01:00
Rémy Taymans
f3c9d3b533 [FIX] odoo.cfg to odoo.conf
Close issue #8
2022-10-11 14:39:38 +02:00
Sylvain LE GAL
bdc9b606ec [IMP] Add postgresql custom configuration ; [ADD] extra setting into odoo_default_company key. (in config.yml file) ; [ADD] odoo_rpc_timeout extra settings ; [FIX] restore call to custom odoo.cfg file 2022-10-11 12:26:41 +02:00
Sylvain LE GAL
531978eb00 [ADD] repos url git log! 2022-07-12 00:55:36 +02:00
Sylvain LE GAL
590f92a1c9 [REM] fucking inadapted docker images 2022-07-11 00:15:56 +02:00
Sylvain LE GAL
819ef6a417 [FIX] par exemple, introduire des bugs, c'est pas gentils 2022-06-29 18:02:21 +02:00
Sylvain LE GAL
36db85e4b9 [ADD] Log if container fails during odoo execution 2022-06-29 17:17:17 +02:00
Sylvain LE GAL
7fca87bae7 [FIX] GREENIFY ALL THE TESTgit status! 2022-06-29 15:50:17 +02:00
Sylvain LE GAL
ae3619e766 [REF] replace click-odoo by calling shell command directly 2022-06-29 15:13:13 +02:00
Sylvain LE GAL
db3d16e37c [IMP] make cli_05_execute_script_python_test working 2022-06-29 10:34:58 +02:00
Sylvain LE GAL
b5419e5d19 [IMP] use LOCAL_USER_ID calling odoo-bedrock, so no need to create filestore and log folder with 777 2022-06-28 16:55:08 +02:00
Sylvain LE GAL
451be8c389 FIX pass execution_context 2022-06-28 01:22:24 +02:00
Sylvain LE GAL
b64c445cb4 [WIP] 2022-06-28 01:06:23 +02:00
Sylvain LE GAL
429b8013b9 le run, ça marche ! (bon bah pour toute les versions...) 2022-06-27 23:53:51 +02:00
Sylvain LE GAL
b37bfa8e31 [REF] create tools & cli folders 2022-06-27 01:57:31 +02:00