summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2026-01-01 15:08:41 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2026-01-01 15:08:41 +0700
commit9d11e920dfc5d2eefdae66bca90909adf467e12f (patch)
treefcbc7d82894df3b80cc5392a6fff8eb96fbf9dff
parentd7a27383cbfe08dd282351b14cbe24361e9c91bf (diff)
push
-rw-r--r--fixco_custom/models/upload_ginee.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fixco_custom/models/upload_ginee.py b/fixco_custom/models/upload_ginee.py
index cdfa3a8..379a704 100644
--- a/fixco_custom/models/upload_ginee.py
+++ b/fixco_custom/models/upload_ginee.py
@@ -97,7 +97,7 @@ class UploadGinee(models.Model):
for i in range(0, len(invoice_to_check), chunk_size):
chunk = invoice_to_check[i:i+chunk_size]
existing_records = self.env['upload.ginee.line'].search([
- ('invoice_marketplace', 'in', chunk)
+ ('invoice_marketplace', 'in', chunk), ('upload_ginee_id', '!=', False)
])
existing_invoices.update(existing_records.mapped('invoice_marketplace'))