OdooWiki OCA HUB

Point of Sale - Customer history color

pos_customer_history_color folder_open OCA/pos open_in_new
Point of sale License: AGPL-3

POS Customer History Color

This module enhances the Point of Sale (POS) experience by visually indicating if a customer has previously purchased a product.

Key Feature

  • Product lines turn purple if the selected customer has already bought the product in the past.

Benefits

  • Better customer engagement at the point of sale.
  • Faster recognition of frequently purchased items.
  • Improved upselling or cross-selling opportunities.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

In the Point of Sale, products a selected customer has already bought in the past are shown in purple, both in the product list and on the order lines, so cashiers can spot repeat purchases at a glance.

This module adds a visual buying-history hint to the Point of Sale screen. When a customer is selected on an order, Odoo looks up every product that customer has ever bought in previous POS orders and remembers that list for the current order.

  • Products the customer already purchased are displayed in purple in the product grid.
  • The same purple colour is applied to the matching lines in the current order, so the cashier sees the history directly on the ticket.
  • The colour disappears when no customer is selected, or when the customer has never bought that product.
  • The history is refreshed automatically each time the customer on the order changes, and also when an existing order is reloaded.

The lookup is done through a dedicated method on pos.order.line that queries past POS orders linked to the customer. The module only changes the Point of Sale interface; it does not add menus, reports, emails or scheduled jobs, and it does not modify prices, stock or accounting. It is a display-only aid meant to help cashiers recognise regular purchases and suggest related items.

Depends on

point_of_sale
Models and fields (1)
  • pos.order.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 17.0

How It Works

When a product is added to a POS order:

  • If the selected customer has previously purchased this product, the product label in the order line is highlighted in purple.
  • This helps cashiers or sales staff recognize returning purchases and offer better recommendations or upsells.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.