summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2026-01-01 06:11:03 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2026-01-01 06:11:03 +0700
commit1f3660c422500d06676547e10292536b7a6a5f8b (patch)
treebd48f7f010bd445c7d98b95bcd1db1f78ee65883
parent30076609d11636feed823d4113ae431d80f131f3 (diff)
push
-rwxr-xr-xfixco_custom/models/webhook_ginee.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/fixco_custom/models/webhook_ginee.py b/fixco_custom/models/webhook_ginee.py
index 86d8b80..606bd21 100755
--- a/fixco_custom/models/webhook_ginee.py
+++ b/fixco_custom/models/webhook_ginee.py
@@ -31,12 +31,11 @@ class WebhookGinee(models.Model):
# rec.execute_queue()
def process_queue_item(self, limit=100):
- domain = [('create_date', '>', '2025-12-31 23:59:59')]
+ domain = [('execute_status', '=', False)]
records = self.search(domain, order='create_date asc', limit=limit)
for rec in records:
rec.execute_queue()
-
def execute_queue(self):
detail_order = self.env['detail.order'].create({
'json_ginee': self.json_ginee,