svn commit: r1801262 - /ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml

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

svn commit: r1801262 - /ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml

Arun Patidar-4
Author: arunpatidar
Date: Sat Jul  8 06:35:57 2017
New Revision: 1801262

URL: http://svn.apache.org/viewvc?rev=1801262&view=rev
Log:
Fixed: Required check missing for supplier product id and last price on Add Product Supplier page (OFBIZ-9455).

Thanks Aditya Sharma for reporting and providing patch.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml?rev=1801262&r1=1801261&r2=1801262&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml Sat Jul  8 06:35:57 2017
@@ -940,12 +940,14 @@ under the License.
                 </entity-options>
             </drop-down>
         </field>
+        <field name="supplierProductId" title="${uiLabelMap.FormFieldTitle_supplierProductId}" required-field="true"></field>
         <field name="canDropShip" title="${uiLabelMap.ProductSupplierCanDropShip}">
             <drop-down allow-empty="false" no-current-selected-key="N">
                 <option key="Y" description="${uiLabelMap.CommonY}"/>
                 <option key="N" description="${uiLabelMap.CommonN}"/>
             </drop-down>
         </field>
+        <field name="lastPrice" title="${uiLabelMap.FormFieldTitle_lastPrice}" required-field="true"></field>
         <field use-when="supplierProduct == null" name="submitButton" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field>
         <field use-when="supplierProduct != null" name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
     </form>