8d77f113b6246ceedf033687f420a8fbad6abdd9
###To reproduce (V15): Video: https://drive.google.com/file/d/1wCebPCVQMXmQk7G4CIMkh1MbZ89HW9ek/view 1. Install the module "Product Availability" ("website_sale_stock") (that will install ecommerce & stock) 2. Choose a theme for the website (like developement) 3. Uninstall website => Internal server error ``` Exception: Unallowed to fetch files from addon website Error when render the template Exception: Unallowed to fetch files from addon website Template: web.frontend_layout Path: /t/html/head/t[1] Node: <t t-call-assets="web.assets_common" t-js="false"/> - - - ``` ###Analysis: The assets and view should in theory be deleted in cascade when the websites records are uninstalled. However, if a website record fails to be removed, for instance - in this case - because of pricelist which have an `ondelete=restrict` PSQL constraint on its `website_id` field. The PSQL cascade constraints on the other record are dropped before being applied which result in the resource being still there but not usable. Note: this issue is not specific to the website app in particular. It's just not worth to think for a more sophisticated way to fix this issue in a stable version. OPW-2700476 closes odoo/odoo#85443 X-original-commit: ef5296ab32426422698b763c33b2ddb5d0da6cc6 Signed-off-by: Romain Derie (rde) <rde@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%