chore: type info
This commit is contained in:
parent
0130aea2aa
commit
b4dc2bdf28
@ -63,7 +63,7 @@ class UnreconcilePayments(Document):
|
|||||||
|
|
||||||
|
|
||||||
@frappe.whitelist()
|
@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"]:
|
if doctype in ["Sales Invoice", "Purchase Invoice"]:
|
||||||
return frappe.db.count(
|
return frappe.db.count(
|
||||||
"Payment Ledger Entry",
|
"Payment Ledger Entry",
|
||||||
|
Loading…
Reference in New Issue
Block a user