70a6407d6c95b26c905c78d55870fedf025852d4
PURPOSE Purpose of this task is to cleanup attachment management done in composer overrides in account modules and move it to model. 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. Move it as a classic model override for account.move Account_edi and various l10n submodules hold some custom code to generate and handle EDI attachments. It is used to add attachments linked using AccountMove specific 'edi_document_ids' field when sending emails based on templates. Move it as a classic model override for account.move and account.edi.document. Move model-specific overrides of the mail composer directly at model level in purchase and (website_)sale. Update some naming and docstrings accordingly. See sub commits for more details. LINKS Task-2710804 (Mail: Clean MailThread API) Task-2792146 (Mail: Move model-dependent code from composer / template) closes odoo/odoo#106658 Related: odoo/enterprise#34439 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
…
…
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%