You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2016/07/16 06:17:05 UTC

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

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>