212ed85ac4632b82b97c3cd898fc1e8a8b605fb3
Before this commit, it was not possible to upload again a file on the browser from the composer, when it was added then removed from the attachments. When a file is uploaded on the browser, it writes on a special input some data to identify this file. In order to detect a new upload, the code listens on the JQuery event `change` on this input. Since the value of this input was not cleared after an attachment removal, the user couldn't reupload the same file, because the value of the input will be unchanged. This commit solves this issue by clearing the special input when removing an attachment, so that adding the same file again will trigger a `change` on this input.
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%