From 1f143137668e900f437072c956f61fe24e232a5c Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Thu, 9 Jul 2009 07:26:40 +0000 Subject: [PATCH] [ 2791635 ] Use saveEx whenever is possible https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2791635&group_id=176962 --- base/src/org/compiere/model/MAllocationHdr.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/base/src/org/compiere/model/MAllocationHdr.java b/base/src/org/compiere/model/MAllocationHdr.java index 3b3c83a280..8d57faf13e 100644 --- a/base/src/org/compiere/model/MAllocationHdr.java +++ b/base/src/org/compiere/model/MAllocationHdr.java @@ -327,8 +327,7 @@ public final class MAllocationHdr extends X_C_AllocationHdr implements DocAction { MAllocationLine line = m_lines[i]; bps.add(new Integer(line.getC_BPartner_ID())); - if (!line.delete(true, trxName)) - return false; + line.deleteEx(true, trxName); } updateBP(bps); return true;