[OFBiz] SVN: r6940 - trunk/applications/accounting/src/org/ofbiz/accounting/invoice
sichen@svn.ofbiz.org
sichen at svn.ofbiz.org
Tue Mar 7 17:30:32 CST 2006
Author: sichen
Date: 2006-03-07 17:30:28 -0600 (Tue, 07 Mar 2006)
New Revision: 6940
Modified:
trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
Log:
Fixed bug where verbose log message would crash when creating a return invoice.
Modified: trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
===================================================================
--- trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java 2006-03-07 18:46:04 UTC (rev 6939)
+++ trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java 2006-03-07 23:30:28 UTC (rev 6940)
@@ -938,7 +938,7 @@
}
if (Debug.verboseOn()) {
Debug.logInfo("Creating Invoice Item with amount " + returnItem.getBigDecimal("returnPrice") + " and quantity "
- + returnItem.getDouble("quantityAccepted") + " for shipment receipt [" + receipt.getString("receiptId") + "]", module);
+ + receipt.getBigDecimal("quantityAccepted") + " for shipment receipt [" + receipt.getString("receiptId") + "]", module);
}
// increment the seqId counter after creating the invoice item and return item billing
More information about the Svn
mailing list