Tuesday, November 19, 2024
3 changes · saas-17.4
Resolved issues and error corrections
This fix prevents an error when printing a bill before the related accounting document has been created. It helps Chilean point-of-sale users print receipts earlier in the sales flow without disruption.
Original PR description
Before this commit, attempting to print a bill early would result in an error because the account_move did not exist. opw-4336405
Users who can approve expenses can once again reset refused or approved expense reports back to draft, even if they do not have accounting permissions. This fixes a workflow blockage for HR or approval teams and helps expenses be corrected without needing accounting intervention.
Original PR description
This re-adds the possibility for a user with approval rights, but no accounting rights to reset an expense to draft after it has been refused/approved. opw-4328933
Cancelled signature requests now redirect to the expected not found page without triggering a background error. This avoids confusing technical tracebacks when recipients open an expired or cancelled signing link.
Original PR description
Steps to reproduce: - Sign app > Upload PDF > Add a 'Signature' field > Send > Cancel - In mailhog open the email > Click 'Sign Document' - Redirected to 404 as expected - Traceback '$(...).zoomOdoo is not a function' Original PR: https://github.com/odoo/odoo/pull/186241 JQuery is loaded twice, from `web.assets_frontend asset` (With zoomOdoo) and from `web.assets_frontend_lazy` (Without zoomOdoo). When redirecting to website 404 through a cancelled sign request we attempt to use zoomOdoo with the latter causing this error. The option to cancel sign requests is available in saas-17.4 and above only. opw-4261794