ae1d5744539d5e62c6a4fb57e740f7f1621773d1
Using the same image on new records does not work without refreshing the page Steps to reproduce: 1. Install Sales 2. Go to Sales > Products > Products and create a new product 3. Set a name and an image on the product 4. Create a new product (with the 'New' button in the top right of the form) 5. Set the image used previously on this product 6. The image does not save Solution: Add a `t-key` on the FileUploader in order to recreate a FileUploader when we open a new form Problem: The FileUploader component is not reset when we open a new form (the files previously uploaded are still present on the FileUploader). `onFileChange` is thus not called when we use the same image, as the file hasn't changed. [This commit] in master fixed the same issue by resetting the FileUploader after each upload so we can revert it https://github.com/odoo/odoo/blob/7710c3331ebd22f8396870bd0731f8c1152d9c41/addons/web/static/src/views/fields/file_handler.js#L66 [This commit]:https://github.com/odoo/odoo/commit/18384bb519d95e937ea4cfdd660ac08ba89214c0 opw-3151756 closes odoo/odoo#117252 X-original-commit: 3b04edc80f916b3b02a6abc7e88de32e53593fc2 Signed-off-by: Bruno Boi (boi) <boi@odoo.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%