Skip to content
Snippets Groups Projects
user avatar
Alexandre Kühn authored
Before this commit, when uploading an attachment on a draft record,
there was the following crash.

This happens because the file uploader in use was the one from when
the record was in draft. The file uploader is changed when the
record is no longer in draft, so the new file uploader should be used
instead.

This commit fixes the issue by delaying slightly saving of record in
chatter model, so that we are sure the chatter record is no longer
temporary (= record not longer in draft), which in consequence create
a new file uploader that actually works.

opw-3280676

closes odoo/odoo#119515

Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
0cdcacb4
History

Build Status Tech Doc Help Nightly Builds

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