summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2026-01-07 10:46:03 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2026-01-07 10:46:03 +0700
commit5328c25940b2e371a1030a2e71b3675dc8011f80 (patch)
tree36fd653507f256ec0668cd622c07ac30968e53fe
parentbe87fc8ed1ea9b4cc3ce684f59a0719b907f8909 (diff)
push
-rwxr-xr-xfixco_custom/models/detail_order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fixco_custom/models/detail_order.py b/fixco_custom/models/detail_order.py
index ee1e2b6..847c41e 100755
--- a/fixco_custom/models/detail_order.py
+++ b/fixco_custom/models/detail_order.py
@@ -68,7 +68,7 @@ class DetailOrder(models.Model):
# rec.execute_queue()
def process_queue_item(self, limit=100):
- domain = [('execute_status', '=', False)]
+ domain = [('execute_status', '=', False), ('source', '=', 'webhook')]
records = self.search(domain, order='create_date asc', limit=limit)
for rec in records:
rec.execute_queue()