commit | b4dc2bdf28bf9c1c7043750a4c91d786c230ea6a | [log] [tgz] |
---|---|---|
author | ruthra kumar <ruthra@erpnext.com> | Wed Aug 30 16:30:14 2023 +0530 |
committer | ruthra kumar <ruthra@erpnext.com> | Tue Sep 05 08:34:26 2023 +0530 |
tree | b1e9ba3e077a1d376cb70e57ce1fdc6ccdde1dd0 | |
parent | 0130aea2aa1ac93cd790af3652ea7b43871c23c8 [diff] |
chore: type info
diff --git a/erpnext/accounts/doctype/unreconcile_payments/unreconcile_payments.py b/erpnext/accounts/doctype/unreconcile_payments/unreconcile_payments.py index 1688b6e..304cccc 100644 --- a/erpnext/accounts/doctype/unreconcile_payments/unreconcile_payments.py +++ b/erpnext/accounts/doctype/unreconcile_payments/unreconcile_payments.py
@@ -63,7 +63,7 @@ @frappe.whitelist() -def doc_has_references(doctype, docname): +def doc_has_references(doctype: str = None, docname: str = None): if doctype in ["Sales Invoice", "Purchase Invoice"]: return frappe.db.count( "Payment Ledger Entry",