Go to file
2026-03-17 16:40:08 +07:00
static/src/app fix: Add null checks before attaching/detaching scroll event listeners and refactor product list display count reset logic. 2026-03-17 16:40:08 +07:00
__init__.py feat: Initialize module and specify POS UI optimization asset patches. 2026-03-17 14:16:13 +07:00
__manifest__.py feat: Initialize module and specify POS UI optimization asset patches. 2026-03-17 14:16:13 +07:00
.gitignore first commit 2026-03-16 08:51:54 +07:00
README.md first commit 2026-03-16 08:51:54 +07:00

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

  1. Place the pos_ui_optimization folder in your Odoo custom addons directory.
  2. Restart your Odoo server.
  3. In Odoo, activate Developer Mode.
  4. Go to Apps -> Update Apps List.
  5. Search for POS UI Optimization.
  6. 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: Adds displayedCount state and a scroll listener to the product container.
  • OrderWidget: Adds displayedCount state and a scroll listener to the order container.

No core Odoo files are modified.