OdooWiki OCA HUB

Contact's Age Range

partner_contact_age_range folder_open OCA/partner-contact open_in_new
Customer Relationship Management License: AGPL-3

This module allows to set up age ranges to categorize partners.

The age range is computed based on the partner's age.

The cron job will auto compute age range.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Create age ranges (e.g. 0-10, 11-20) and let Odoo automatically assign each contact to the right range based on their age. A daily job keeps the ranges up to date.

This module adds a new configuration screen where you define age ranges for your contacts. Each range has a name, a starting age and an ending age, and Odoo checks that ranges do not overlap and that the start is lower than the end.

On every contact form that already shows the age (from the birthdate module), a new "Age Range" field appears once a birthdate is set. It is filled in automatically: Odoo compares the contact's age with your ranges and selects the matching one. If no range matches, the field stays empty.

A scheduled job named "Contact: Update Age Range" runs once a day. It recalculates the age range for all contacts that have a birthdate, so people move to the next range as they get older without anyone doing it manually.

Where to find it: - Contacts > Configuration > Age Ranges to create and manage the ranges. - The Age Range field on the contact form, next to the age.

Only contacts managers can create or change age ranges; other users can view them. The module works on the res.partner model and the new res.partner.age.range model.

Depends on

Menus it adds

Age Ranges
Models and fields (2)
  • res.partner · extends an existing modelage_range_id
  • res.partner.age.range · new modelname, age_to (To), age_from (From)

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 19.0

Go to Contact / Configuration / Age Ranges

Configure your Age Ranges

Contacts will automatically compute age range based on age.

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.