Skip to content

Commit fb1b775

Browse files
committed
fix: activate venv for click-odoo-update
1 parent 63291f8 commit fb1b775

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy/command/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def run_hooks(hook_name: str) -> bool:
151151
if eff_type == "odoo":
152152
addons_path = get_addons_path(executor, instance_path)
153153
executor.run(
154-
f"click-odoo-update -d {eff_db} --addons-path={addons_path}",
154+
f"source .venv/bin/activate && click-odoo-update -d {eff_db} --addons-path={addons_path}",
155155
cwd=instance_path,
156156
)
157157
executor.run(f"systemctl --user restart {instance_name}")

0 commit comments

Comments
 (0)