Skip to main content

Display customer's age in POS interface according to the age setting

Project description

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.

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.

Credits

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_pos_customer_age_warning-17.0.0.1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_pos_customer_age_warning-17.0.0.1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 73db1efacce7a347c78ae97bd0a4d140b1dd7e5da989e58a47d756710c481e1e
MD5 367064f0087fefad3204312243ec3211
BLAKE2b-256 c43d6c2e4f9b8f3571aeaec691a8f524efa71ec5e25b5c76c294074ead068100

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page