ba29387924f4985fc1c6c496f63efa288da7a8cd
pos*: point_of_sale, pos_restaurant, pos_sale Previously the pos would rerender the entire UI when the window was resized. In practice, most components do not care about the size of the UI for their rendering, and so we're doing a lot of needless work, and also using an owl feature (deep renders) whose perennity is not certain (we may want to remove the ability to do deep renders completely in the future). This commit changes the pos code to use the ui service `isSmall` field, makes the ui service reactive so that components can subscribe to changes inside of it with `useState`, and makes the ui service update its internal state at most once per animation frame, instead of after 100ms without resizing, so that resizing the viewport results in a smoother user experience. closes odoo/odoo#121343 Signed-off-by: adgu-odoo <adgu@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%