fc5765e860614eb8e9656e86ebf2e14b3e678a50
Suppose uploading an attachment with res_id = 0, res_model = 'existing.model'. Suppose also there a one2many having 'ir.attachment' as co_model and res_id as co_field in 'existing.model'. This setup leads to an error since the record with id=0 doesn't exists. This commit ensures the res_model is not set when uploading the attachment. closes odoo/odoo#37414 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%