chore: code cleanup

(cherry picked from commit 69683776a5)
This commit is contained in:
ruthra kumar
2023-08-29 21:45:17 +05:30
committed by Mergify
parent 7651ecbc2b
commit f4e1959cc7

View File

@@ -11,11 +11,6 @@ from erpnext.accounts.utils import unlink_ref_doc_from_payment_entries, update_v
class UnreconcilePayments(Document):
# def validate(self):
# parent = set([alloc.parent for alloc in self.allocations])
# if len(parent) != 1:
# pass
@frappe.whitelist()
def get_allocations_from_payment(self):
if self.voucher_type == "Payment Entry":