Don't overwrite dispatch

This commit is contained in:
Hubert Van De Walle
2026-04-21 23:43:04 +02:00
parent 1d46d78c35
commit 26c0f1da8e
+4
View File
@@ -22,6 +22,10 @@ def cli() -> None:
def dispatch():
"""Randomly distribute unassigned tasks among team members."""
if DispatchStorage.load():
print("[red]Tickets were already dispatched.[/red]")
return
client = odoo_client.OdooClient()
today = datetime.now().strftime("%Y-%m-%d")
domain = [