svn commit: r1680313 - /ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1680313 - /ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml

ccarlow
Author: ccarlow
Date: Tue May 19 15:22:14 2015
New Revision: 1680313

URL: http://svn.apache.org/r1680313
Log:
Fixing form widget availabilityStatusId field drop-down entity-option entity-constraint value = "WEFA_AVAILABILITY" and also adding the corrected field to AddProductionRunTaskFixedAssets form at applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
https://issues.apache.org/jira/browse/OFBIZ-6368?filter=-2

Modified:
    ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml

Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml?rev=1680313&r1=1680312&r2=1680313&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml (original)
+++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml Tue May 19 15:22:14 2015
@@ -600,10 +600,10 @@ under the License.
         <field name="fixedAssetId">
             <display-entity entity-name="FixedAsset" description="${fixedAssetName} [${fixedAssetId}]"/>
         </field>
-        <field name="availabilityStatusId">
-            <drop-down no-current-selected-key="WEFA_IN_USE">
+        <field name="availabilityStatusId" title="">
+            <drop-down allow-empty="true">
                 <entity-options description="${description}" entity-name="StatusItem" key-field-name="statusId">
-                    <entity-constraint name="statusTypeId" operator="equals" value="WEFA_AVAILABLE"/>
+                    <entity-constraint name="statusTypeId" operator="equals" value="WEFA_AVAILABILITY"/>
                     <entity-order-by field-name="sequenceId"/>
                 </entity-options>
             </drop-down>
@@ -694,6 +694,14 @@ under the License.
                 <entity-options entity-name="FixedAsset" description="${fixedAssetName} [${fixedAssetId}]"/>
             </drop-down>
         </field>
+        <field name="availabilityStatusId">
+            <drop-down allow-empty="true">
+                <entity-options description="${description}" entity-name="StatusItem" key-field-name="statusId">
+                    <entity-constraint name="statusTypeId" operator="equals" value="WEFA_AVAILABILITY"/>
+                    <entity-order-by field-name="sequenceId"/>
+                </entity-options>
+            </drop-down>
+        </field>
         <field name="statusId">
             <!-- Statuses are not yet defined for the WorkEffortFixedAssetAssign entity
                 so this field will be hidden meanwhile