Daily updates from Odoo
Monday, May 25, 2020
3 changes · master
Resolved issues and error corrections
Helpdesk users can now start and stop the timer on tickets that already have invoiced timesheets. The system creates a new timesheet entry instead of trying to change invoiced records, preventing an error and keeping support time tracking accurate.
Original PR description
1) Enable 'Time Reinvoicing' on your helpdesk team 2) create a ticket in this team -> set the task field -> log time -> create an SO -> create an invoice -> post the entries 3) go back to the ticket and launch the timer Observed behavior: a user error stating that 'invoiced timesheets cannot be modified' is displayed Expected behaviour: when stopping the timer, a new timesheet entry should be created TaskID: 2245931 Closes: #10612
The Documents app now keeps its PDF viewer tools with the Documents assets, so PDF splitting can load what it needs only when required. This helps keep the feature available to the right users while reducing unnecessary loading elsewhere.
Original PR description
This commit creates a separate pdf js lib template with an access group for documents to allow the pdf splitter to lazyload the template.
The Documents app now handles cases where two workspaces are accidentally set as each other's parent. This prevents the document menu from crashing with a memory error and keeps workspace navigation usable.
Original PR description
Before this commit when we create 2 workspaces and set a parent of each other, and when click on document menu it was throwing memory error. After this commit it will reset parent of parent workspace, if two workspaces have each other as parent workspace LINKS PR https://github.com/odoo/enterprise/pull/10712 Task 2250634