Daily updates from Odoo
Friday, June 28, 2019
2 changes
Enhancements to existing features
Website and portal errors now appear in clearer, more consistent dialogs, notifications, and error pages instead of plain technical pages or browser alerts. This improves the customer-facing experience when something goes wrong and makes permission or validation issues easier to understand.
Original PR description
* web, base, website_forum, test_website, account, gamification, iap, mail, partner_autocomplete, point_of_sale, stock, website_sale_comparison All rpc errors are now displayed using the notification…
* web, base, website_forum, test_website, account, gamification, iap, mail, partner_autocomplete, point_of_sale, stock, website_sale_comparison All rpc errors are now displayed using the notification system recently updated for website. For the redirections triggering an error that are currently displayed as a 500 Error with an ugly white page, the error page will be similar to 404/403 error but with code 400. All exception_orm are now handled as a 400 except for the AccessError which is a 403. The error card on all the Error pages is now loaded on an open state displaying clearly the reason of the error without clicking anything. If there is no error message the error card is not displayed and the traceback is open. The traceback is only displayed if we are in debug mode. These changes are also effective for the 500, 404 and 403 error pages. KarmaError is now an except_orm exception. Karma error message now contains the required karma. All the alerts in website_forum will use the toast notifications instead of alerts. A test tour is located in test_website, visit /test_error_view to trigger some errors manually and look at the result. task-1894820
Belgian payroll now supports managing wage garnishments such as salary attachments, salary assignments, and child support directly on employee contracts. These amounts are automatically included in payslip calculations and reports, helping payroll teams track deductions and amounts already paid.