* 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 |
||
|---|---|---|
| .. | ||
| i4.1 | ||
| i4.1z | ||
| i5.1 | ||
| i5.1z | ||
| i6.1 | ||
| i6.1z | ||
| i6.2 | ||
| i6.2z | ||
| i7.1 | ||
| i7.1z | ||
| i8.1 | ||
| i8.1z | ||
| local_sql | ||
| processes_post_migration | ||
| zip_2pack | ||
| .classpath | ||
| .project | ||