Thursday, October 26, 2023
3 changes · master
Resolved issues and error corrections
Toggling the option to hide empty lines in financial reports now updates the display immediately without reloading the full report from the database. This avoids unnecessary waiting and reduces system load while keeping the report data unchanged.
Original PR description
https://github.com/odoo/enterprise/commit/4bf10c05ec9fa0aa794a02b163f2afd858ffa613#diff-9c1cf6319c0d789e8b5f51f2f340e63f9c3ca54e3df3b9d6babc4c35670880c7 introduced the new hide_0_lines filter, allowing the user to hide the lines with an empty amount. This filter relies on a javascript treatment of the returned lines to decide whether or not to display them, but they are always all returned by the server. The original implementation, however, made use of the toggleFilter() helper function, which modifies the options dict before calling the database to fully regenerate the report. In this case, this was useless, since the returned lines would be the same. Instead of doing that, we now assign the option key without reloading everything, and then just recompute the visibility of the lines.
This update cleans up two minor user experience issues in manufacturing and rental sales workflows. It removes an unnecessary creation option from the work center overview and restores normal Tab-key navigation when a quantity availability field is hidden, making daily use smoother and less confusing.
Original PR description
This back to basics fix and revamp some small features from mrp. task-id: 3201527
This update fixes a minor alignment issue in the screen used to convert helpdesk tickets into leads. The change makes the conversion form look cleaner and easier to use, without altering the underlying process.
Original PR description
In this PR, we fix the small alignment issue when the user try to convert the ticket to lead. task-3248965