core-jgi/org.idempiere.test
Carlos Ruiz 460f7116a2
IDEMPIERE-4567 Resetting payment allocation to a charge leaves wrong … (#414)
* IDEMPIERE-4567 Resetting payment allocation to a charge leaves wrong BP Balance

MAllocationHdr.updateBP was broken, the form Payment Allocation worked just because it was calling bpartner.setTotalOpenBalance() at the end
so, I refactored the MAllocationHdr.updateBP and before/afterDelete to call bpartner.setTotalOpenBalance instead if the broken algorithm

Unit test added for allocating and deleting a customer invoice, a vendor invoice, and a charge

* IDEMPIERE-4567 Resetting payment allocation to a charge leaves wrong BP Balance

- Fix peer review changes requested by @hengsin
- Detected double call to bpartner.setTotalOpenBalance in WAllocation
- Detected some business partners in GardenWorld with wrong TotalOpenBalance or SO_CreditUsed, added migration script to fix it, it made more complicate to write unit tests as the data was wrong
2020-11-26 17:08:05 +08:00
..
.settings IDEMPIERE-4314:eclipse project setting independent JDK (#90) 2020-06-01 11:30:00 +08:00
META-INF IDEMPIERE-4521 Release 8.1 - RC 2020-11-03 21:59:12 +01:00
src/org/idempiere/test IDEMPIERE-4567 Resetting payment allocation to a charge leaves wrong … (#414) 2020-11-26 17:08:05 +08:00
.classpath IDEMPIERE-4314:eclipse project setting independent JDK (#90) 2020-06-01 11:30:00 +08:00
.project IDEMPIERE-4289 Implement Support for JUnit5 Unit Testing (#53) 2020-05-12 17:17:36 +02:00
build.properties IDEMPIERE-4289 Implement Support for JUnit5 Unit Testing (#53) 2020-05-12 17:17:36 +02:00
idempiere.unit.test.launch IDEMPIERE-4492 fix for rest api (#343) 2020-11-01 13:22:11 +01:00
pom.xml IDEMPIERE-4521 Release 8.1 - RC 2020-11-03 21:59:12 +01:00