commit | 2499675ad121ab370f672e6f9ffdcda3c8c76b8e | [log] [tgz] |
---|---|---|
author | Gursheen Anand <gursheen@frappe.io> | Wed Nov 15 13:32:23 2023 +0530 |
committer | Gursheen Anand <gursheen@frappe.io> | Wed Nov 15 13:32:23 2023 +0530 |
tree | acf24e86b97c81804edb0a5bdec00d52ad16da4b | |
parent | 09f9764bbdec90d1b9f85ccc5a368bf85547bea1 [diff] |
fix: test total unallocated amount in payment
diff --git a/erpnext/accounts/doctype/payment_entry/test_payment_entry.py b/erpnext/accounts/doctype/payment_entry/test_payment_entry.py index 5af37b6..f4b0c55 100644 --- a/erpnext/accounts/doctype/payment_entry/test_payment_entry.py +++ b/erpnext/accounts/doctype/payment_entry/test_payment_entry.py
@@ -1347,6 +1347,8 @@ ) pe.save() pe.submit() + self.assertEqual(pe.total_allocated_amount, 60) + self.assertEqual(pe.unallocated_amount, 940) self.voucher_no = pe.name self.expected_gle = [ {"account": "Debtors - _TC", "debit": 40.0, "credit": 0.0},