Author: hansbak
Date: Tue Oct 7 00:24:32 2008
New Revision: 702368
URL:
http://svn.apache.org/viewvc?rev=702368&view=revLog:
correct error introduced by latest currency change
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/EditInvoice.groovy
Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/EditInvoice.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/EditInvoice.groovy?rev=702368&r1=702367&r2=702368&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/EditInvoice.groovy (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/EditInvoice.groovy Tue Oct 7 00:24:32 2008
@@ -83,6 +83,10 @@
}
}
+if (!conversionRate) {
+ conversionRate = 1;
+}
+
if (invoice) {
invoiceItems = invoice.getRelatedOrderBy("InvoiceItem", ["invoiceItemSeqId"]);
invoiceItemsConv = FastList.newInstance();