1.5 KiB
1.5 KiB
Res Partner Extended
This is a custom Odoo 19 module that extends the default res.partner (Contact) model to store additional personal information.
Features
This module introduces two new custom fields to the Contact form:
- Gender (
gender): A selection field that allows users to specify the gender of the contact.- Available options:
Male,Female.
- Available options:
- Birth Date (
birth_date): A date field that allows users to record the date of birth of the contact.
User Interface
The new fields are seamlessly integrated into the standard Odoo interface. They are placed in the main res.partner form view (base.view_partner_form), positioned immediately below the address format block. This ensures a natural flow of information when creating or editing a contact's profile.
Technical Details
- Model Extended:
res.partner - Fields Added:
gender(Type:fields.Selection)birth_date(Type:fields.Date)
- View Inherited:
base.view_partner_form - Dependencies:
base,contacts
Installation Instructions
- Place the
res_partner_extendedfolder into your Odoo addons directory. - Restart the Odoo service.
- Enable Developer Mode in your Odoo instance (Settings -> Scroll down -> Activate the developer mode).
- Navigate to the Apps menu and click on Update Apps List.
- Remove the
Appsfilter in the search bar and search forRes Partner Extended. - Click the Activate (or Install) button.
Author
Abdul Aziz Amrullah