IDEMPIERE-4076 In financial report when calculation is Add Range and operand 1 and operand 2 are same, calculations are wrong
based on patch from Deepak Pansheriya
This commit is contained in:
parent
304014ab72
commit
2368c6da57
|
@ -1110,6 +1110,9 @@ public class FinReport extends SvrProcess
|
|||
private String getLineIDs (int fromID, int toID)
|
||||
{
|
||||
if (log.isLoggable(Level.FINEST)) log.finest("From=" + fromID + " To=" + toID);
|
||||
if (fromID == toID) {
|
||||
return String.valueOf(fromID);
|
||||
}
|
||||
int firstPA_ReportLine_ID = 0;
|
||||
int lastPA_ReportLine_ID = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue