You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2009/10/14 09:57:16 UTC

svn commit: r825052 - /ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml

Author: mor
Date: Wed Oct 14 07:57:15 2009
New Revision: 825052

URL: http://svn.apache.org/viewvc?rev=825052&view=rev
Log:
Change lastInventoryCount to read only field as it is updated by a schedule service. This will avoid accidently edits to this field by a user. Applied patch from Ratnesh Upadhyay, part of OFBIZ-3039 (https://issues.apache.org/jira/browse/OFBIZ-3039)

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml

Modified: ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml?rev=825052&r1=825051&r2=825052&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml Wed Oct 14 07:57:15 2009
@@ -1707,6 +1707,7 @@
         <field name="facilityId">
             <display-entity entity-name="Facility" description="${facilityName} [${facilityId}]" also-hidden="true"/>
         </field>
+        <field name="lastInventoryCount"><display/></field>
         <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
         <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
             <hyperlink target="deleteProductFacility" description="${uiLabelMap.CommonDelete}" also-hidden="false">
@@ -1725,6 +1726,7 @@
                 </entity-options>
             </drop-down>
         </field>
+        <field name="lastInventoryCount"><hidden/></field>
         <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
     </form>