We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 73f75d9 + fb1b775 commit 4c5f1b1Copy full SHA for 4c5f1b1
1 file changed
deploy/command/update.py
@@ -151,7 +151,7 @@ def run_hooks(hook_name: str) -> bool:
151
if eff_type == "odoo":
152
addons_path = get_addons_path(executor, instance_path)
153
executor.run(
154
- f"click-odoo-update -d {eff_db} --addons-path={addons_path}",
+ f"source .venv/bin/activate && click-odoo-update -d {eff_db} --addons-path={addons_path}",
155
cwd=instance_path,
156
)
157
executor.run(f"systemctl --user restart {instance_name}")
0 commit comments