svn commit: r1748944 - /ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml

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

svn commit: r1748944 - /ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml

pranayp
Author: pranayp
Date: Sat Jun 18 09:54:00 2016
New Revision: 1748944

URL: http://svn.apache.org/viewvc?rev=1748944&view=rev
Log:
[OFBIZ-7354] Made find timesheet result list non-editable as this list is intended to display information about timesheets and any timesheet can be edited from their view page. This fix to UI is also required because it's confusing to the user when he sees editable fields but nothing can actually be edited there.

Thanks Amardeep Singh Jhajj for the contribution.

Modified:
    ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml

Modified: ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml?rev=1748944&r1=1748943&r2=1748944&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml Sat Jun 18 09:54:00 2016
@@ -84,7 +84,7 @@ under the License.
                 <field-map field-name="viewSize" from-field="viewSize"/>
             </service>
         </actions>
-        <auto-fields-entity entity-name="Timesheet"/>
+        <auto-fields-entity entity-name="Timesheet" default-field-type="display"/>
         <field name="timesheetId" title="${uiLabelMap.WorkEffortTimesheetTimesheetId}" widget-style="buttontext">
             <hyperlink description="${timesheetId}" target="EditTimesheet" also-hidden="false">
                 <parameter param-name="timesheetId"/>