core-jgi/org.adempiere.base
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-4329 Cleanup eclipse warnings (#107) 2020-06-09 12:26:36 +02:00
META-INF IDEMPIERE-4521 Release 8.1 - RC 2020-11-03 21:59:12 +01:00
OSGI-INF IDEMPIERE-4190 Implement Image Storage Provider (1006528) (FHCA-1165) 2020-02-27 21:37:32 +01:00
schema
src 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
.packaging
.project
build.properties IDEMPIERE-4202 Remove java web start code and libraries 2020-03-10 18:20:04 +08:00
documentation.bat
packaging-build.xml
plugin.xml IDEMPIERE-2924: Adding XLSX Export support (#6) 2020-01-04 15:19:48 +01:00
pom.xml IDEMPIERE-4521 Release 8.1 - RC 2020-11-03 21:59:12 +01:00