svn commit: r1752893 - /ofbiz/trunk/applications/manufacturing/widget/manufacturing/MrpForms.xml

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

svn commit: r1752893 - /ofbiz/trunk/applications/manufacturing/widget/manufacturing/MrpForms.xml

Mridul Pathak-5
Author: mridulpathak
Date: Sat Jul 16 06:17:04 2016
New Revision: 1752893

URL: http://svn.apache.org/viewvc?rev=1752893&view=rev
Log:
[OFBIZ-7168] Run MRP shows all type of facilities, facilities of type "WAREHOUSE" should only be listed. Thanks Ankit Joshi for contribution.

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

Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/MrpForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/MrpForms.xml?rev=1752893&r1=1752892&r2=1752893&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/widget/manufacturing/MrpForms.xml (original)
+++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/MrpForms.xml Sat Jul 16 06:17:04 2016
@@ -31,7 +31,9 @@ under the License.
         </field>
         <field name="facilityId" title="${uiLabelMap.ProductFacility}">
             <drop-down allow-empty="true">
-                <entity-options entity-name="Facility" description="${facilityName} [${facilityId}]"/>
+                <entity-options entity-name="Facility" description="${facilityName} [${facilityId}]">
+                    <entity-constraint name="facilityTypeId" operator="equals" value="WAREHOUSE"/>
+                </entity-options>
             </drop-down>
         </field>
         <field name="defaultYearsOffset"><text size="5" default-value="1"/></field>