30db58e5e6f423e1328fc29d9d8a239ed8a2ce8e
Before this commit the clean_assetbundle could unlink invalid attachment, mostly when generating a no website assetbundle with a different version than a website one, the website assetbundle will be deleted. Generating a new asset bundle attachment /web/assets/439-b4c80c3/1/web.assets_frontend.min.css (id:439) Generating a new asset bundle attachment /web/assets/440-3723971/web.assets_frontend.min.css (id:440) Deleting attachments [439] (matching /web/assets/%-%/web.assets_frontend.min.css) because it was replaced with /web/assets/%-3723971/%%% The issue is that %-%/ will match 439-b4c80c3/1/ and not only 439-b4c80c3/ Note that it looks like this issue existed for a while but was invisible because before 16.4 clean_attachment was invalidating the ormcache, hiding the fact that a still valid asset was deleted and regenerated. The proposed fix replaces the domain with %-_______/. The unique is always 7 character long. Note that this change was already made in 17.0 when removing the id from the asset url so this doesn't need to be completely forward-ported. opw-3558552 closes odoo/odoo#145452 X-original-commit: 2ac466547e01bfd65415a53ae1efc9d45d9299fb Signed-off-by: Xavier Dollé (xdo) <xdo@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%