f744e90fc4fa05c224194a80cb44b01734fac081
The clean attachement was invalidation the cache before 16.4, mainly because if an attachement is in cache of another worker and deleted, this will cause a 404 when this worker serves a page needing this attachment. This was changed because an attachment should be unlink through clean_attachments in two cases: - the code source change on the server and a cold worker generates a bundle - an ir_asset was modified In the first case, we consider that the server restarted (normally) and all caches should be emptied. In the second case, a specific invalidation is made. But when something goes wrong, it is hard to debug, especially because there is no information on when the new attachment was created, and the previous one deleted. This should solve the issue by helping to identify the cause of the deletion. closes odoo/odoo#143962 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%