Author: adrianc
Date: Fri Jan 4 13:07:49 2008
New Revision: 609005
URL:
http://svn.apache.org/viewvc?rev=609005&view=revLog:
Changed the LookupFixedAsset permission checking so that it works from the Asset Maint component.
Modified:
ofbiz/trunk/applications/accounting/widget/LookupScreens.xml
Modified: ofbiz/trunk/applications/accounting/widget/LookupScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/LookupScreens.xml?rev=609005&r1=609004&r2=609005&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/LookupScreens.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/LookupScreens.xml Fri Jan 4 13:07:49 2008
@@ -71,9 +71,7 @@
<screen name="LookupFixedAsset">
<section>
<condition>
- <or>
- <if-has-permission permission="ACCOUNTING" action="_VIEW"/>
- </or>
+ <if-service-permission service-name="fixedAssetPermissionCheck" main-action="VIEW"/>
</condition>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>