Skip to content

[ADD] estate: create initial estate module #1360

Draft
pryes-odoo wants to merge 8 commits into
odoo:19.0from
odoo-dev:19.0-tutorials-pryes
Draft

[ADD] estate: create initial estate module #1360
pryes-odoo wants to merge 8 commits into
odoo:19.0from
odoo-dev:19.0-tutorials-pryes

Conversation

@pryes-odoo

@pryes-odoo pryes-odoo commented Jul 3, 2026

Copy link
Copy Markdown

This PR introduces the initial implementation of the Estate module developed while following the Server Framework 101 tutorial
It includes the creation of the core property model, model fields, life cycle state management, default values, access rights, window actions, application menus and custom list and form views
The business logic introduced in the completed stages of the tutorial has also been implemented
Overall, this PR establishes the core architecture and user interface of the Estate application, providing the foundation for future enhancements in subsequent tutorial exercises

@robodoo

robodoo commented Jul 3, 2026

Copy link
Copy Markdown

Pull request status dashboard

Initialized the Estate application
Configured the required module metadata
Configured the module as an installable application
Completed Chapter 2
@pryes-odoo
pryes-odoo force-pushed the 19.0-tutorials-pryes branch from d46f4c4 to cd44e58 Compare July 3, 2026 12:12
@pryes-odoo pryes-odoo assigned bit-odoo and unassigned bit-odoo Jul 3, 2026
@pryes-odoo
pryes-odoo requested a review from bit-odoo July 3, 2026 12:31
Created the Estate Property model
Added the basic property fields
Generated the estate_property database table

Completed Chapter 3
@pryes-odoo
pryes-odoo force-pushed the 19.0-tutorials-pryes branch from f855d6b to f3ae61f Compare July 7, 2026 10:24
Add Real Estate menus
Prevent copying selling price and availability date
Set default bedrooms and availability date
Add active reserved field with default value
@pryes-odoo
pryes-odoo force-pushed the 19.0-tutorials-pryes branch from ee60a21 to 02cc60d Compare July 10, 2026 06:34
add property list view
add property form view
rename field labels as per reference

@bit-odoo bit-odoo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @pryes-odoo
Good Work!

Can you please improve all your commit titles and messages?
Also improve the PR title and description.

Thanks

Comment thread estate/views/estate_property_views.xml Outdated
Comment on lines +43 to +57
<notebook>
<page string="Description">
<group>
<field name="description"/>
<field name="bedrooms"/>
<field name="living_area"/>
<field name="facades"/>
<field name="garage"/>
<field name="garden"/>
<field name="garden_area"/>
<field name="garden_orientation"/>
<field name="state"/>
</group>
</page>
</notebook>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation issue.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have fixed the Indentation

</list>
</field>
</record>
<record id="estate_property_view_form" model="ir.ui.view">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is good if you leave one empty line before it.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added one empty line before it

<field name="res_model">estate.property</field>
<field name="view_mode">list,form</field>
</record>
<record id="estate_property_view_list" model="ir.ui.view">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is good if you leave one empty line before it. For better visibility

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added one empty line before it

@pryes-odoo pryes-odoo changed the title [ADD] estate: create initial estate module 19.0 tutorials pryes Jul 21, 2026
@pryes-odoo pryes-odoo changed the title 19.0 tutorials pryes [ADD] estate: create initial estate module Jul 21, 2026
Add a custom search view for estate properties
Add an Available filter for properties in the New and Offer Received states
Add a Group By option to group properties by postcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants