fix: test total unallocated amount in payment
(cherry picked from commit 2499675ad121ab370f672e6f9ffdcda3c8c76b8e)
This commit is contained in:
		
							parent
							
								
									376e09680c
								
							
						
					
					
						commit
						cb4bb5b4ee
					
				| @ -1307,6 +1307,8 @@ class TestPaymentEntry(FrappeTestCase): | ||||
| 		) | ||||
| 		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}, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user