Author: hansbak
Date: Wed Feb 3 09:54:44 2010
New Revision: 905961
URL:
http://svn.apache.org/viewvc?rev=905961&view=revLog:
remove exception from log file when payment is not defined
Modified:
ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml
Modified: ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml?rev=905961&r1=905960&r2=905961&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml Wed Feb 3 09:54:44 2010
@@ -391,7 +391,7 @@
<menu name="PaymentSubTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
menu-container-style="button-bar button-style-2">
<actions>
- <set field="isDisbursement" value="${bsh:org.ofbiz.accounting.util.UtilAccounting.isDisbursement(payment)}"/>
+ <set field="isDisbursement" value="${bsh:payment!=void?org.ofbiz.accounting.util.UtilAccounting.isDisbursement(payment):false}"/>
</actions>
<menu-item name="createNew" title="${uiLabelMap.CommonCreateNew}" widget-style="buttontext create" >
<condition>