mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
fix: remove comments
This commit is contained in:
@@ -298,8 +298,6 @@ def auto_reconcile_vouchers(
|
|||||||
"amount": r[4],
|
"amount": r[4],
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
# vouchers = frappe.as_json(voucherss)
|
|
||||||
# vouchers = json.loads(voucherss)
|
|
||||||
transaction = frappe.get_doc("Bank Transaction", transaction.name)
|
transaction = frappe.get_doc("Bank Transaction", transaction.name)
|
||||||
account = frappe.db.get_value("Bank Account", transaction.bank_account, "account")
|
account = frappe.db.get_value("Bank Account", transaction.bank_account, "account")
|
||||||
matched_trans = 0
|
matched_trans = 0
|
||||||
@@ -331,7 +329,7 @@ def auto_reconcile_vouchers(
|
|||||||
transaction.update_allocations()
|
transaction.update_allocations()
|
||||||
matched_transaction_len = len(set(matched_transaction))
|
matched_transaction_len = len(set(matched_transaction))
|
||||||
if matched_transaction_len == 0:
|
if matched_transaction_len == 0:
|
||||||
frappe.msgprint(_("There is no any matched reference number for reconciliation"))
|
frappe.msgprint(_("No matching references found for auto reconciliation"))
|
||||||
elif matched_transaction_len == 1:
|
elif matched_transaction_len == 1:
|
||||||
frappe.msgprint(_("{0} transaction is reconcilied").format(matched_transaction_len))
|
frappe.msgprint(_("{0} transaction is reconcilied").format(matched_transaction_len))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user