summaryrefslogtreecommitdiff
path: root/fixco_custom/models/detail_order.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-07-28 15:19:50 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-07-28 15:19:50 +0700
commitc99a62f139fd7dfad7ffb2911eaaa7e7b95c7dd5 (patch)
treeddfecef3f18ea6379ad15dc343da3dfef26fdd5e /fixco_custom/models/detail_order.py
parent9519acabf66956f7af58a1bdad137c1e86480b57 (diff)
push
Diffstat (limited to 'fixco_custom/models/detail_order.py')
-rwxr-xr-xfixco_custom/models/detail_order.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/fixco_custom/models/detail_order.py b/fixco_custom/models/detail_order.py
index e8e87aa..1211aad 100755
--- a/fixco_custom/models/detail_order.py
+++ b/fixco_custom/models/detail_order.py
@@ -134,12 +134,10 @@ class DetailOrder(models.Model):
def process_queue_item_detail(self, limit=100):
domain = [
('execute_status', '=', 'detail_order'),
+ '!',
'|',
- ('detail_order', 'not like', '"orderStatus": "PENDING_PAYMENT"'),
- ('json_ginee', 'not like', '"orderStatus": "PENDING_PAYMENT"'),
- '|',
- ('detail_order', 'not like', '"channel":"BLIBLI_ID"'),
- ('json_ginee', 'not like', '"channel":"BLIBLI_ID"'),
+ ('json_ginee', 'like', '"orderStatus": "PENDING_PAYMENT"'),
+ ('json_ginee', 'like', '"channel":"BLIBLI_ID"'),
]
records = self.search(domain, order='create_date desc', limit=limit)