chore: remove unused variable `job`
diff --git a/erpnext/accounts/doctype/process_payment_reconciliation/process_payment_reconciliation.py b/erpnext/accounts/doctype/process_payment_reconciliation/process_payment_reconciliation.py
index 3166030..eb8c16e 100644
--- a/erpnext/accounts/doctype/process_payment_reconciliation/process_payment_reconciliation.py
+++ b/erpnext/accounts/doctype/process_payment_reconciliation/process_payment_reconciliation.py
@@ -129,7 +129,7 @@
frappe.db.set_value("Process Payment Reconciliation", docname, "status", "Running")
job_name = f"start_processing_{docname}"
if not is_job_running(job_name):
- job = frappe.enqueue(
+ frappe.enqueue(
method="erpnext.accounts.doctype.process_payment_reconciliation.process_payment_reconciliation.reconcile_based_on_filters",
queue="long",
is_async=True,
@@ -147,7 +147,7 @@
# Resume tasks for running doc
job_name = f"start_processing_{docname}"
if not is_job_running(job_name):
- job = frappe.enqueue(
+ frappe.enqueue(
method="erpnext.accounts.doctype.process_payment_reconciliation.process_payment_reconciliation.reconcile_based_on_filters",
queue="long",
is_async=True,
@@ -224,7 +224,7 @@
job_name = f"process_{doc}_fetch_and_allocate"
if not is_job_running(job_name):
- job = frappe.enqueue(
+ frappe.enqueue(
method="erpnext.accounts.doctype.process_payment_reconciliation.process_payment_reconciliation.fetch_and_allocate",
queue="long",
timeout="3600",
@@ -245,7 +245,7 @@
if not allocated:
job_name = f"process__{doc}_fetch_and_allocate"
if not is_job_running(job_name):
- job = frappe.enqueue(
+ frappe.enqueue(
method="erpnext.accounts.doctype.process_payment_reconciliation.process_payment_reconciliation.fetch_and_allocate",
queue="long",
timeout="3600",
@@ -263,7 +263,7 @@
else:
reconcile_job_name = f"process_{doc}_reconcile"
if not is_job_running(reconcile_job_name):
- job = frappe.enqueue(
+ frappe.enqueue(
method="erpnext.accounts.doctype.process_payment_reconciliation.process_payment_reconciliation.reconcile",
queue="long",
timeout="3600",
@@ -350,7 +350,7 @@
reconcile_job_name = f"process_{doc}_reconcile"
if not is_job_running(reconcile_job_name):
- job = frappe.enqueue(
+ frappe.enqueue(
method="erpnext.accounts.doctype.process_payment_reconciliation.process_payment_reconciliation.reconcile",
queue="long",
timeout="3600",
@@ -462,7 +462,7 @@
reconcile_job_name = f"process_{doc}_reconcile"
if not is_job_running(reconcile_job_name):
- job = frappe.enqueue(
+ frappe.enqueue(
method="erpnext.accounts.doctype.process_payment_reconciliation.process_payment_reconciliation.reconcile",
queue="long",
timeout="3600",