chore: code cleanup
This commit is contained in:
parent
1981f3837a
commit
69683776a5
@ -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":
|
||||
|
Loading…
x
Reference in New Issue
Block a user