You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2007/07/19 12:26:14 UTC
svn commit: r557560 -
/ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
Author: lektran
Date: Thu Jul 19 03:26:11 2007
New Revision: 557560
URL: http://svn.apache.org/viewvc?view=rev&rev=557560
Log:
Applied partial fix from trunk for revision: 555772
Modified:
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
Modified: ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java?view=diff&rev=557560&r1=557559&r2=557560
==============================================================================
--- ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java (original)
+++ ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java Thu Jul 19 03:26:11 2007
@@ -2060,7 +2060,9 @@
createInvoiceTermContext.put("termTypeId", term.get("termTypeId"));
createInvoiceTermContext.put("termValue", term.get("termValue"));
createInvoiceTermContext.put("termDays", term.get("termDays"));
- createInvoiceTermContext.put("description", term.get("description"));
+ if (!"BillingAccountTerm".equals(term.getEntityName())) {
+ createInvoiceTermContext.put("description", term.get("description"));
+ }
createInvoiceTermContext.put("uomId", term.get("uomId"));
createInvoiceTermContext.put("userLogin", userLogin);