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 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}")