From 5c8c6e3f8d9c660d7eec7a7e20fd7faa51601b54 Mon Sep 17 00:00:00 2001 From: Hai Lang Date: Fri, 29 May 2026 17:43:37 +0700 Subject: [PATCH 1/2] fix(update): specify config file when updating odoo modules Forge ID: F#T67763 --- trobz_deploy/command/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trobz_deploy/command/update.py b/trobz_deploy/command/update.py index c12bd5b..c61f907 100644 --- a/trobz_deploy/command/update.py +++ b/trobz_deploy/command/update.py @@ -176,7 +176,7 @@ def run_hooks(hook_name: str) -> bool: for db in eff_db: typer.secho(f"\nUpdating database {db!r}…", fg="green") executor.run( - f".venv/bin/click-odoo-update -d {db} --addons-path={addons_path}", + f".venv/bin/click-odoo-update --config config/odoo.conf -d {db} --addons-path={addons_path}", cwd=instance_path, ) executor.run(f"systemctl --user restart {instance_name}") From 9c85e4b9623b04e5325a853831f76f34b2834d91 Mon Sep 17 00:00:00 2001 From: Hai Lang Date: Fri, 29 May 2026 17:54:51 +0700 Subject: [PATCH 2/2] fix(docs): mention about config/odoo.conf file --- site-docs/docs/getting-started.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site-docs/docs/getting-started.md b/site-docs/docs/getting-started.md index 3be1a1a..bbe52d6 100644 --- a/site-docs/docs/getting-started.md +++ b/site-docs/docs/getting-started.md @@ -62,6 +62,8 @@ odoo-myproject-production: deploy configure odoo-myproject-production ``` +Make sure the repo has config/odoo.conf file that have odoo configuration. + **3. Update the instance** (pull + sync venv + upgrade + restart): ```bash