[FIX] todo.py check using cmd_source_default before crash

This commit is contained in:
Mathieu Benoit 2026-02-04 09:07:40 -05:00
parent 326208c9fd
commit e2d9163f8a

View file

@ -856,7 +856,7 @@ class TODO:
commande = (
f"source ./.venv.{source_odoo}/bin/activate && {commande}"
)
elif new_window:
elif new_window and self.cmd_source_default:
commande = self.cmd_source_default % commande
print("🏠 ⬇ Execute command :")