Odoo Community Association

POS Customer Age Warning

Alpha License: AGPL-3 OCA/pos Translate me on Weblate Try me on Runboat

This module enhances Odoo’s Point of Sale (POS) by introducing an age verification system. When a customer is selected, their age (based on their date of birth) is checked against the predefined “Age Warning” threshold set in the POS configuration.

If the customer’s age is less than or equal to this threshold, their name will be displayed in red on the POS interface to alert the cashier.

Use Cases

Case 1: Alcohol Sales

  • “Age Warning” threshold set to 18 years.
  • A customer born on June 5, 2010, is selected in March 2025.
  • Age: 2025 - 2010 = 14 years old.
  • Result: Their name appears in red, warning the cashier.

Case 3: Gaming Center (No entry for under 16s)

  • “Age Warning” threshold set to 16 years.
  • A customer born on July 15, 2009, is selected in March 2025.
  • Age: 2025 - 2009 = 15 years old (birthday in July).
  • Result: Their name appears in red because they are not yet 16.

Important

This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. More details on development status

Table of contents

Configuration

  1. Go to POS Settings
  2. In the POS Interface section there is the Age Warning setting
  3. Enter the age warning

The warning will appear in POS interface for the customer with this age or younger.

Usage

Open the POS interface and if the age warning setting apply to the customer, the customer’s name will appear in red color.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Authors

  • Invitu

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/pos project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.