Skip to content

Commit e840a83

Browse files
karm1000mergify[bot]
authored andcommitted
fix: add deduplication option to job enqueue
(cherry picked from commit ecb5d6c)
1 parent 93b8b58 commit e840a83

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

india_compliance/gst_india/doctype/gst_invoice_management_system/gst_invoice_management_system.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ def download_invoices(company_gstin):
265265
queue="long",
266266
gstin=company_gstin,
267267
job_id=job_id,
268+
deduplicate=True,
268269
)
269270

270271

india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def download_gstr(
157157
job_id=job_id,
158158
now=frappe.flags.in_test,
159159
timeout=1800,
160+
deduplicate=True,
160161
)
161162

162163
@frappe.whitelist()

0 commit comments

Comments
 (0)