We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63291f8 commit fb1b775Copy full SHA for fb1b775
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