mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 17:45:04 +00:00
chore: type info
This commit is contained in:
@@ -63,7 +63,7 @@ class UnreconcilePayments(Document):
|
||||
|
||||
|
||||
@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",
|
||||
|
||||
Reference in New Issue
Block a user