265926f971d9f77322885c60e9e40ae45ca855f7
website_sale adds a call to sale_get_order to ~every website page (in order to validate & display the shopping cart). Before this change, this calls get_pricelist_available() and triggers two different computations of property_product_pricelist on every page even for a public user with no cart / SO. This, in turn, generates ~20 queries and adds 20ms (total) / 10ms (sql) to ~every page load. Fix: early return if the user doesn't have an SO (either in session or in DB) and we're not in a case where we want to force one. Loading "/" with just website_sale installed on a new DB, - before: 53 queries, 31ms ±5 (sql), 75ms ±5 (all) - after: 32 queries, 21ms ±1 (sql), 53ms ±3 (all) closes odoo/odoo#32492 Signed-off-by: Xavier Morel (xmo) <xmo@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, 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%