Author: jacopoc
Date: Thu Jul 27 22:08:07 2006
New Revision: 426387
URL:
http://svn.apache.org/viewvc?rev=426387&view=revLog:
Fixed bug reported by Ray Barlow in Apache OFBIZ-107.
The "EditInventoryItem" screen can now have a null facility.
Modified:
incubator/ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml
Modified: incubator/ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml?rev=426387&r1=426386&r2=426387&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml (original)
+++ incubator/ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml Thu Jul 27 22:08:07 2006
@@ -52,7 +52,10 @@
<widgets>
<section>
<condition>
- <not><if-empty field-name="facility"/></not>
+ <or>
+ <not><if-empty field-name="facility"/></not>
+ <not><if-empty field-name="displayWithNoFacility"/></not>
+ </or>
</condition>
<widgets>
<platform-specific>
@@ -178,7 +181,7 @@
<set field="titleProperty" value="PageTitleEditFacilityInventoryItems"/>
<set field="headerItem" value="facility"/>
<set field="tabButtonItem" value="EditFacilityInventoryItems"/>
-
+
<script location="component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh"/>
</actions>
<widgets>
@@ -346,6 +349,7 @@
<set field="titleProperty" value="PageTitleEditInventoryItem"/>
<set field="headerItem" value="facility"/>
<set field="tabButtonItem" value="EditFacilityInventoryItems"/>
+ <set field="displayWithNoFacility" value="Y"/>
<script location="component://product/webapp/facility/WEB-INF/actions/inventory/EditInventoryItem.bsh"/>
</actions>