- Successfully developed the Estate module with full real estate management capabilities, including creating, editing, deleting, and viewing property details.
- Ensured security compliance and smooth integration with other Odoo components.
- Studied Odoo’s three-tier architecture:
- Presentation Layer
- Logic Layer: Python (Odoo ORM).
- Data Layer: PostgreSQL.
- Initialized the Estate module for real estate management.
- Set up the required directory structure and essential configuration files.
- Defined the estate.property model with key fields:
name
,description
,expected_price
,bedrooms
,living_area
, etc.
- Configured user access rights using:
security/ir.model.access.csv
– setting model permissions for different user roles.
- Created menus and actions in
views/estate_menu.xml
for module navigation.
- Designed list (tree), form, and search views in
views/estate_property_views.xml
to display and manage property records.
- Established One2many, Many2one, and Many2many relationships:
- Linked
estate.property
withres.users
(sellers) andestate.property.type
.
- Linked
- Implemented computed fields to update values dynamically based on business logic.
- Used
@api.onchange
to modify values based on user input.
- Created server actions for key functionalities:
- Changing property states.
- Sending notifications when an offer is received.
- Enforced SQL and Python constraints:
- Prevented the sale price from being lower than the expected price.
- Ensured proper business logic validation.
- Used Odoo widgets to improve UI/UX.
- Used Odoo’s view inheritance system to extend or modify existing views without altering original files.
- Integrated the Estate module with Odoo’s accounting system (
account
):- Generated invoices automatically when a property is sold.