Author: pranayp
Date: Tue Sep 20 09:34:52 2016
New Revision: 1761542
URL:
http://svn.apache.org/viewvc?rev=1761542&view=revLog:
Fix for: Error on update of routing task deliverable product.
(OFBIZ-8296)
The reason of error was editable fromDate field, corrected the settings with routingProductLink null check to only display or show it editable.
Thanks: Amardeep Singh Jhajj for the contribution.
Modified:
ofbiz/trunk/applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml
Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml?rev=1761542&r1=1761541&r2=1761542&view=diff==============================================================================
--- ofbiz/trunk/applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml (original)
+++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml Tue Sep 20 09:34:52 2016
@@ -365,7 +365,8 @@ under the License.
<field name="productId" title="${uiLabelMap.ProductProductId}" use-when="routingProductLink==null" >
<lookup target-form-name="LookupProduct"/>
</field>
- <field name="fromDate" title="${uiLabelMap.CommonFromDate}" use-when="routingProductLink!=null"><date-time default-value="${nowTimestamp}"/></field>
+ <field name="fromDate" title="${uiLabelMap.CommonFromDate}" use-when="routingProductLink!=null"><display/></field>
+ <field name="fromDate" title="${uiLabelMap.CommonFromDate}" use-when="routingProductLink==null"><date-time default-value="${nowTimestamp}"/></field>
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}">
<submit button-type="button"/>