summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,