[ADD] estate: initialize estate tutorial module#1329
Draft
dhruvikalariyaa wants to merge 7 commits into
Draft
Conversation
create the directory structure and main manifest file for the estate real estate business module. This module will serve as the base for developing the property advertisement and offer management application.
Create the foundation of the 'estate' module (Real Estate application). Define the core model 'estate.property' to represent properties in the system. This model includes fields to track basic property information such as: - Name - Description - Postcode - Date of availability - Expected price - Selling price - Bedrooms, living area, facades, garage, and garden details
- Create `ir.model.access.csv` to define access control rules. - Grant full CRUD (read, write, create, delete) permissions to the base user group (`base.group_user`). - Register the security CSV file inside the manifest `__manifest__.py`.
- Add window action for estate.property model - Add 3-level menu hierarchy (Root, Advertisements) with web_icon - Set selling_price as read-only and non-copyable - Set default values for bedrooms (2) and date_availability (3 months from today) - Add active and state reserved fields with default values
- Create security/security_groups.xml to define the Real Estate category, Access privilege, and user groups (Agent, Buyer, Owner) - Add list, form, and search views for the estate.property model in views/estate_property_views.xml
bit-odoo
reviewed
Jun 18, 2026
bit-odoo
left a comment
There was a problem hiding this comment.
Hello @dhruvikalariyaa
Good Work!
Can you please improve all your commit titles and messages according to the guidelines?
Also, improve your PR description.
Thanks
Comment on lines
+1
to
+2
| from odoo import fields, models | ||
| from dateutil.relativedelta import relativedelta |
There was a problem hiding this comment.
Can you please follwe the import coding guidelines?
https://www.odoo.com/documentation/19.0/contributing/development/coding_guidelines.html#imports
Comment on lines
+20
to
+30
| <!-- Settings Main Menu item --> | ||
| <!-- <menuitem | ||
| id="menu_estate_settings" | ||
| name="Settings" | ||
| parent="estate_menu_root"/> | ||
| Property Type sub menu of Settings Menu item | ||
| <menuitem | ||
| id="menu_estate_property_type" | ||
| name="Property Type" | ||
| parent="menu_estate_settings" | ||
| action="estate_property_action"/> --> |
There was a problem hiding this comment.
No need to push dead code into the PR.
| id="menu_estate_advertisement" | ||
| name="Advertisements" | ||
| parent="estate_menu_root"/> | ||
| <!-- Properties sub menu of Advertisements Menu item --> |
There was a problem hiding this comment.
No need to add comments for all. It's only necessary when the code is complex, etc.
Comment on lines
+9
to
+10
| <field name="category_id" | ||
| ref="model_category_real_estate"/> |
Introduce property types, tags, and offers to expand module capabilities, while refactoring existing code to comply with Odoo standards. - Add new models and views for property types, tags, and offers. - Rename Many2one fields 'buyer' and 'salesperson' to 'buyer_id' and 'salesperson_id' in 'estate.property'. - Rename XML view and action record IDs to use '[model_name]_view_[type]' and '[model_name]_action' naming patterns. - Move security configurations to 'security/estate_security.xml'. - Align Python imports and XML files formatting.
- Add demo data files for property types (demo_types.xml), property tags (demo_tags.xml), and properties (demo_property.xml). - Add tag_ids field with widget 'many2many_tags' to property list view. - Add 'Has garden' and 'Has garage' filters to the property search view.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

create the directory structure and main manifest file for the estate real estate business module. This module will serve as the base for developing the property advertisement and offer management application.