odoo/tutorials#926
Created by Purvik Sukhadiya (pusu)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 35s)
- ci/tutorial: (runtime 305s)
- label
- odoo-dev:18.0-tutorials-pusu
- head
- 668311ed99ed50b01599764b9d82ebcf06d490aa
odoo/tutorials | |
---|---|
18.0 | #926 missing r+ |
master |
[ADD] estate: Real estate management module
Overview
This PR introduces a new "Real Estate" module as part of the Odoo tutorials.
The module is designed to manage properties, offers, and property-related data.
Key Features
Property Management:
Create, update, and manage property records with essential details such as expected price, living area, garden details, and availability date.
Offer System:
Users can create multiple offers for a property. The module calculates deadlines, identifies the best offer, and allows accepting or refusing offers with proper validations.
Classification & Organization:
Properties can be tagged with customizable labels and assigned to types for better organization.
Relations and Structure:
Implemented appropriate Many2one, One2many, and Many2many relations to link properties with types, tags, and offers.
User Interface:
Designed comprehensive list and form views using Odoo’s XML templating system. Views include computed fields, smart buttons, statusbars, and domain filters for better UX.
Computed Fields & Onchange Logic:
Added business logic using computed fields (e.g., total area, best offer, etc.) and @api.onchange methods for dynamic updates in the UI.
Business Constraints:
Enforced domain rules and constraints to prevent invalid data entries (e.g., selling price must be lower than expected price).