This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release18.12 by this push:
     new 702fde6  Fixed: Manufacturing Jobshop find screen by default does not 
show all production runs (OFBIZ-12550)
702fde6 is described below

commit 702fde61bbe044b4a24ce68f45c1b345e5b66f57
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Tue Feb 1 08:57:29 2022 +0100

    Fixed: Manufacturing Jobshop find screen by default does not show all 
production runs (OFBIZ-12550)
    
    The manufacturing jobshop find screen has the seach date initialized to 
nowdate.
    if one wants to see all production runs, one has to clear the date which 
should
    be empty initially
    
    The same problem exists on the MRP log find where the date is filled by 
default.
    
    Thanks: Hans for report and patches
---
 applications/manufacturing/template/mrp/FindInventoryEventPlan.ftl     | 2 +-
 applications/manufacturing/widget/manufacturing/ProductionRunForms.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/applications/manufacturing/template/mrp/FindInventoryEventPlan.ftl 
b/applications/manufacturing/template/mrp/FindInventoryEventPlan.ftl
index 25b6fa2..cb06373 100644
--- a/applications/manufacturing/template/mrp/FindInventoryEventPlan.ftl
+++ b/applications/manufacturing/template/mrp/FindInventoryEventPlan.ftl
@@ -72,7 +72,7 @@ function lookupInventory() {
                     <td width='20%' align='right' 
class="label">${uiLabelMap.CommonFromDate}</td>
                     <td width='5%'>&nbsp;</td>
                     <td>
-                      <@htmlTemplate.renderDateTimeField name="eventDate" 
event="" action="" className="" alert="" title="Format: yyyy-MM-dd 
HH:mm:ss.SSS" value="${requestParameters.eventDate!nowTimestamp}" size="25" 
maxlength="30" id="fromDate_2" dateType="date" shortDateInput=false 
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" 
timeDropdown="" timeHourName="" classString="" hour1="" hour2="" 
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected=" [...]
+                      <@htmlTemplate.renderDateTimeField name="eventDate" 
event="" action="" className="" alert="" title="Format: yyyy-MM-dd 
HH:mm:ss.SSS" value="" size="25" maxlength="30" id="fromDate_2" dateType="date" 
shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" 
localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" 
hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" 
amSelected="" pmSelected="" compositeType="" formName=""/>
                     </td>
                   </tr>
                   <tr>
diff --git 
a/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml 
b/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
index ae91b28..6e574d0 100644
--- a/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
+++ b/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
@@ -80,7 +80,7 @@ under the License.
         </field>
         <field name="productId" title="${uiLabelMap.ProductProductId}"><lookup 
target-form-name="LookupProduct"/></field>
         <field name="workEffortName" 
title="${uiLabelMap.ManufacturingProductionRunName}"><text-find/></field>
-        <field name="estimatedStartDate" 
title="${uiLabelMap.ManufacturingStartDate}"><date-find 
default-value="${nowTimestamp}"/></field>
+        <field name="estimatedStartDate" 
title="${uiLabelMap.ManufacturingStartDate}"><date-find/></field>
         <field name="facilityId" title="${uiLabelMap.ProductFacilityId}">
             <drop-down allow-empty="true">
                 <entity-options entity-name="Facility" 
key-field-name="facilityId" description="${facilityName} [${facilityId}]">

Reply via email to