OdooWiki OCA HUB

Contact's birthdate

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

This module was written to extend the functionality of Odoo to support setting a birthdate using a date format and allow you to benefit of a clearer API and UI.

Add a computed age field on Partners

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds a birthdate field to contacts and automatically calculates the contact's age from it. Both fields appear on the contact's personal information page.

This module extends contacts (res.partner) with a birthdate stored as a date, plus an age that Odoo calculates automatically.

Where it appears: - On the contact form, in the personal information group, you get a Birthdate field. - Right next to it, an Age field is shown only when a birthdate has been filled in; it is read-only and cannot be edited by hand.

What it does automatically: - Whenever the birthdate is set or changed, Odoo recalculates the age in whole years based on today's date. - If no birthdate is entered, the age stays at zero and the age field is hidden on the form.

What it touches: - The contact model res.partner, adding the birthdate and age fields. - The contact form view provided by the personal information page module, which this module depends on.

No menus, reports, emails, scheduled jobs or restrictions are added by this code. The module only stores the birthdate and derives the age from it.

Models and fields (1)
  • res.partner · extends an existing modelage, birthdate_date (Birthdate)

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: 8 confirmed, 1 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

To use this module, you need to:

  • Edit or create a partner.
  • Ensure it is not a company.
  • Set the birthdate there.

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.