Daily updates from Odoo
Friday, April 17, 2020
1 change
Code cleanup and technical improvements
This update simplifies how Odoo creates and manages email aliases in several apps, reducing duplicated setup logic and the risk of misconfigured aliases. It also fixes quality alert team alias setup so incoming emails are routed more reliably.
Original PR description
PURPOSE Clean mail alias mixin use through addons and clean its code SPECIFICATIONS Remove unnecessary code overlap: duplicate of model computation or alias definitions. Remove alias creation relying on context and instead give a single method to override giving alias creation values. Go through all addons using aliases to clean its usage code. Remove remaining alias fields on res.users, linked to a now removed feature. Finally make alias creation work in batch mode in mail_alias_mixin. LINKS Task ID 1919277 Community odoo/odoo#41160 Enterprise odoo/enterprise#6983 Upgrade odoo/upgrade#872