res_partner_extended/README.md

37 lines
1.5 KiB
Markdown

# 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:
1. **Gender (`gender`)**: A selection field that allows users to specify the gender of the contact.
- Available options: `Male`, `Female`.
2. **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
1. Place the `res_partner_extended` folder into your Odoo addons directory.
2. Restart the Odoo service.
3. Enable **Developer Mode** in your Odoo instance (Settings -> Scroll down -> Activate the developer mode).
4. Navigate to the **Apps** menu and click on **Update Apps List**.
5. Remove the `Apps` filter in the search bar and search for `Res Partner Extended`.
6. Click the **Activate** (or **Install**) button.
## Author
Abdul Aziz Amrullah