0ea4c3110a76d2b7f46aa1fd6b7976624dbb07d7
PURPOSE Purpose of this task is to cleanup attachment management done in generic mail models overrides and move it in account as model overrides. SPECIFICATIONS Accounting holds code to handle attachments linked to their custom composer (``account.invoice.send``) that uses through inheritance the mail composer (``mail.compose.message``) that has a specific processing of attachments to link pending composer attachments to the right records. Indeed attachments linked to the composer are pending attachments, and are linked to the record when posting the message. This allows to know which attachments have been added by the user, have specific rules for access rights, ... However this code has been wrongly added directly at mixing level at odoo/odoo@bdcc012004. Instead ``_message_post_process_attachments`` method should always be called based on a record, allowing to locate the override at model level. Task-2792146 (Mail: Move model-dependent code from composer / template) Task-2710804 (Mail: Clean MailThread API) Part-of: odoo/odoo#106658
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%