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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_pos_customer_age_warning-17.0.0.1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2c4cd7aa2d81a3a6b13320453131df678ca23de12fcd94978d192fa6490577a3
MD5 c24aee97255f87495388f7dab0c39558
BLAKE2b-256 382b00053ec0fc431bdaa6913feb7a736e36bd5a67d110da2d66e13fe070b6b8

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