summaryrefslogtreecommitdiff
path: root/fixco_custom/models/webhook_ginee.py
diff options
context:
space:
mode:
Diffstat (limited to 'fixco_custom/models/webhook_ginee.py')
-rwxr-xr-xfixco_custom/models/webhook_ginee.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/fixco_custom/models/webhook_ginee.py b/fixco_custom/models/webhook_ginee.py
index 606bd21..65f2238 100755
--- a/fixco_custom/models/webhook_ginee.py
+++ b/fixco_custom/models/webhook_ginee.py
@@ -31,6 +31,9 @@ class WebhookGinee(models.Model):
# rec.execute_queue()
def process_queue_item(self, limit=100):
+ now = time.strftime('%Y-%m-%d %H:%M:%S')
+ if now < '2025-12-31 00:00:00':
+ return
domain = [('execute_status', '=', False)]
records = self.search(domain, order='create_date asc', limit=limit)
for rec in records: