summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorXavier BOL (xbo) <xbo@odoo.com>2020-12-10 18:34:47 +0100
committerXavier BOL (xbo) <xbo@odoo.com>2020-12-21 15:35:20 +0100
commita41df84a83380dded4cb8c9d83444f916b9e004d (patch)
tree72eb76af9b079497898b95eca1983d783f0bbe10 /doc/reference/javascript_reference.rst
parentdaa1036eb6b54588224bc5d6fe9be6974cde1ea8 (diff)
[IMP] {hr,sale}_timesheet: review portal timesheets
This commit improves the portal view containing the timesheets list (this view is available in the '/my/timesheets' route. In sale_timesheet module, we * add new group by and a search on SOL, * add an SOL field on the left of the unit_amount one, * change the group by by default, to group the timesheets by SOL * display the following information in the group: 'x Hours ordered, x Remaining', when the timesheets are grouped by SOL. However, the 'x Remaining' part should only be visible if the number of timesheets is greater than 0. * move the total number of hours in the group itself and align it to the right. * change the number of items displayed per page, 100 items instead of 20. * reduce the size of the font in tbody tag (0.8rem instead of 0.875rem) * display the content of the field on hover, it's usefull when the field it's cropped. * Add 'View Timesheets' button in portal SO: this new button button called 'View timesheets' is displayed next the name of the product of a SO in Sale Order Portal. it is only visible if the number of timehseets is greater than 0 for this SOL. The button redirects the user to /my/timesheets page with a filter on the corresponding SOL + a group by SOL. task-2409761
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions