bddac4b602e1c8884c740004fa77f511a3a169e9
Before this commit, if an assets was named 'assets_hello_world' and another one was named 'assets_hello' and that the first one was included in the DOM before the second one, trying to load the first one would result in a 404. Indeed, this is what would have happened: 1) Render the `t-call-assets="assets_hello_world"` directive -> compute the assets bundle then return a script with an url reaching that bundle. Do this after having deleted the previous bundle computation if any. 2) Render the `t-call-assets="assets_hello"` directive -> compute the assets bundle then return a script with an url reaching that bundle. Do this after having deleted the previous bundle computation if any. The problem is about "deleting the previous bundle computation" which was done... by deleting all attachments starting by the bundle name. This commit solves that by deleting the exact matches. Part of https://github.com/odoo/odoo/pull/32181 task-1961045
…
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%