Don't overwrite dispatch
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user