Wednesday, January 26, 2022
2 changes · master
Code cleanup and technical improvements
This update simplifies internal code patterns across several Odoo apps without changing business functionality. By replacing verbose code constructs with clearer equivalents and tidying regular expressions and strings, it reduces maintenance effort and lowers the chance of future mistakes.
Original PR description
* cleans up unecessary `set()` calls, by replacing them with set literals or set comprehensions * cleans up unnecessary `dict()` calls, by replacing them with dict literals or dict comprehensions, or the odd `dict.fromkeys` * cleans up a few regex (unnecessary escapes) and implicit string concatenations (unnecessary continuations) Originally partially in #73535 but that PR is too large and unfocused, so breaking it up into more specific cleanups (and also more complete thus this one being twice the size of that one),
This update cleans up the styling of the email attachment list as part of a broader interface optimization effort. It should help keep the mail interface easier to maintain while preserving the existing user experience.
Original PR description
Part of the overall v16 SCSS optimization/restyle (task-2704984) task-2731819 Notes: - requires https://github.com/odoo/odoo/pull/83260 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr