Skip to content

Commit b515d2c

Browse files
authored
Remove "rebuild sales" task (#303)
I've run the task, we now have ~14k sales entries
1 parent dcfb7d5 commit b515d2c

File tree

2 files changed

+0
-48
lines changed

2 files changed

+0
-48
lines changed

drinks_touch/screens/settings/main_screen.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
SyncFromKeycloakTask,
1818
InitializeBarcodeScannerTask,
1919
)
20-
from tasks.rebuild_sales import RebuildSalesTask
2120

2221

2322
class SettingsMainScreen(Screen):
@@ -176,15 +175,6 @@ def __init__(self, *args, **kwargs):
176175
]
177176
),
178177
),
179-
Button(
180-
text="Rebuild sales stats",
181-
on_click=lambda: self.go_if_git(
182-
TasksScreen(
183-
tasks=[RebuildSalesTask()],
184-
),
185-
),
186-
size=15,
187-
),
188178
],
189179
pos=(5, 100),
190180
gap=15,

drinks_touch/tasks/rebuild_sales.py

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)