chore: type info

This commit is contained in:
ruthra kumar 2023-08-30 16:30:14 +05:30
parent 0130aea2aa
commit b4dc2bdf28

View File

@ -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",