feat: automatic product counters edition

This commit is contained in:
imperosol
2025-09-14 21:48:16 +02:00
parent 5ee8d3b434
commit 9953561a02
7 changed files with 160 additions and 85 deletions

View File

@@ -1377,7 +1377,6 @@ class ScheduledProductAction(PeriodicTask):
class Meta:
verbose_name = _("Product scheduled action")
ordering = ["-clocked"]
def __init__(self, *args, **kwargs):
self._meta.get_field("task").choices = get_product_actions()