IDEMPIERE-1079 Reset Allocation is leaving invoices as paid / Thanks to Juliana Corredor

This commit is contained in:
Carlos Ruiz 2013-06-21 19:06:34 -05:00
parent ab31459efb
commit ac1a8e486c
1 changed files with 2 additions and 1 deletions

View File

@ -321,7 +321,8 @@ public final class MAllocationHdr extends X_C_AllocationHdr implements DocAction
}
// Mark as Inactive
setIsActive(false); // updated DB for line delete/process
this.saveEx();
// Unlink
getLines(true);
if (!updateBP(true))