Wednesday, November 9, 2022
5 changes · master
Enhancements to existing features
This update tightens internal code quality rules so unused error details are handled more cleanly across several Odoo apps. It helps keep the codebase easier to maintain and reduces avoidable inconsistencies, with no expected change for end users.
Original PR description
We removed the option that allowed the non-used argument on the catch block (they musted have its name begining with '_'). Now, if the argument on the catch block is not needed, we can simply use the optional catch binding.
This update strengthens automated quality checks for Google Calendar and website sale loyalty test code by detecting duplicate keys, arguments, and conditional branches. It helps prevent avoidable coding mistakes from entering the product, improving maintainability with no direct user-facing change.
Original PR description
*: google_calendar, website_sale_loyalty
rules enabled :
- no-dupe-keys
- no-dupe-args
- no-dupe-else-ifThe Documents app now shows a more helpful message when a workspace configuration would create a circular setup. This helps users understand what to avoid and correct the issue faster instead of seeing a vague recursion error.
Original PR description
…ror message
This update standardizes how unused error details are handled in background code across several Odoo Enterprise apps. It is an internal code quality improvement that helps keep the codebase consistent and easier to maintain, with no expected change for end users.
Original PR description
We removed the option that allowed the non-used argument on the catch block (they musted have its name begining with '_'). Now, if the argument on the catch block is not needed, we can simply use the optional catch binding. Comunity : https://github.com/odoo/odoo/pull/105433
This update enables an automated check that prevents duplicate settings in several Odoo Enterprise modules. It helps reduce small code mistakes and improves long-term reliability without changing day-to-day user workflows.
Original PR description
*: account_accountant, documents_spreadsheet, hr_payroll,
pos_blackbox_be, sign
Community : https://github.com/odoo/odoo/pull/105398