| static/src/app | ||
| __manifest__.py | ||
| .gitignore | ||
| README.md | ||
POS UI Optimization
This Odoo 17 module optimizes the Point of Sale (POS) user interface for low-RAM devices (e.g., Android tablets with 2GB RAM).
Features
- Product List Incremental Loading: Renders products in batches of 40 as you scroll, significantly reducing memory usage in categories with many products.
- Order Cart Incremental Loading: Efficiently handles large orders by rendering order lines incrementally as you scroll through the cart.
- Improved Responsiveness: Keeps the browser DOM light and prevents "white blank" screens caused by memory exhaustion.
Installation
- Place the
pos_ui_optimizationfolder in your Odoo custom addons directory. - Restart your Odoo server.
- In Odoo, activate Developer Mode.
- Go to Apps -> Update Apps List.
- Search for
POS UI Optimization. - Click Install.
Technical Details
This module uses Odoo's JavaScript patching mechanism (patch from @web/core/utils/patch) to extend the core POS components:
ProductsWidget: AddsdisplayedCountstate and a scroll listener to the product container.OrderWidget: AddsdisplayedCountstate and a scroll listener to the order container.
No core Odoo files are modified.