Skip to content

[ADD] real_estate: Create New Module#1098

Draft
rugot-odoo wants to merge 18 commits intoodoo:19.0from
odoo-dev:19.0-tutorial-rugot
Draft

[ADD] real_estate: Create New Module#1098
rugot-odoo wants to merge 18 commits intoodoo:19.0from
odoo-dev:19.0-tutorial-rugot

Conversation

@rugot-odoo
Copy link

@rugot-odoo rugot-odoo commented Jan 1, 2026

Implemented the core business logic for the Real Estate module as part of Odoo technical training.
This PR sets up the module structure, base models, and initial views.
The configuration follows the official Odoo tutorial step by step.
It establishes a solid foundation for managing properties and offers.
Further features will be built on top of this base.

@robodoo
Copy link

robodoo commented Jan 1, 2026

Pull request status dashboard

@rugot-odoo rugot-odoo marked this pull request as draft January 1, 2026 09:13
@mash-odoo
Copy link

Hello @rugot-odoo
For this PR, we only need the changes related to the real_estate module.
Could you please remove the extra files (like .idea and other unrelated diffs) and keep the commit limited to the module scope?

1. Architecture Overview
2. Create new application
3. Define models and basic fields
4. Security access rules
5. Add menus and actions
6. UI elements (list, form, search views)

[ADD] real_estate: complete Chapters 1–6 of Odoo tutorial

1. Architecture Overview
2. Create new application
3. Define models and basic fields
4. Security access rules
5. Add menus and actions
6. UI elements (list, form, search views)

[ADD] real_estate: complete Chapters 1–6 of Odoo tutorial

1. Architecture Overview
2. Create new application
3. Define models and basic fields
4. Security access rules
5. Add menus and actions
6. UI elements (list, form, search views)

[FIX] real_estate: delete idea folder
@rugot-odoo rugot-odoo force-pushed the 19.0-tutorial-rugot branch from fab8839 to 19545d8 Compare January 1, 2026 09:52
@rugot-odoo
Copy link
Author

Hello @mash-odoo
I’ve cleaned up the PR by removing all unrelated files (including .idea)

…onships

Implement the property offers and tags model
- Connected offers and tags with the main model
- Completed relational field concepts as per the document
…onships

Implement the property offers and tags model
- Connected offers and tags with the main model
- Completed relational field concepts as per the document
@rugot-odoo rugot-odoo changed the title 19.0 tutorial rugot [ADD] real_estate: Create New Module Jan 2, 2026
Copy link

@mash-odoo mash-odoo left a comment

Choose a reason for hiding this comment

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

Hello @rugot-odoo,
Good Work on the PR.
Please view my comments and apply the changes wherever needed.

- Implemented @api.onchange methods
- Added @api.depends for computed fields
- Defined ondelete behavior to handle related record deletion safely
…onships

Implement the property offers and tags model
- Connected offers and tags with the main model
- Completed relational field concepts as per the document
- Implemented @api.onchange methods
- Added @api.depends for computed fields
- Defined ondelete behavior to handle related record deletion safely
- Completed Unit 9 actions and business logic
- Added property type field
@rugot-odoo rugot-odoo force-pushed the 19.0-tutorial-rugot branch 2 times, most recently from bd2ac7b to 2b5dd2e Compare January 7, 2026 15:48
- Added SQL constraints for data integrity
- Implemented Python constraints
- Configured statusbar widget in form views
- Added inline list views for One2many fields
@rugot-odoo rugot-odoo force-pushed the 19.0-tutorial-rugot branch from 2b5dd2e to fedc96f Compare January 7, 2026 16:21
Copy link

@mash-odoo mash-odoo left a comment

Choose a reason for hiding this comment

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

Hello,
Good going on the PR,
Here are a few suggestions..

- Created maintenance request model linked to property
- Added status workflow
- Validated approved maintenance cost
- Computed total maintenance cost on property
- Blocked property sale if any maintenance request is not done
- Blocked deletion of properties and maintenance when maintenance is not done
- Added statusbar widget and inline list views for better usability.
- Defined default ordering on estate models.
- Improved views with decorations, options, and conditional behavior.
… & 13

 Implemented inheritance examples from chapter 12:
  - Extended existing models using _inherit
  - Added new fields per tutorial instructions
  - Verified behavior via demo UI

 Completed chapter 13 on inter-module communication:
  - Used cross-module relations and method calls
Copy link

@mash-odoo mash-odoo left a comment

Choose a reason for hiding this comment

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

Hello!!
Thanks for your work!
Here are some questions and suggestions..

Added the new `read_fetch` method for improved record reading performance.
- Tutorial 14: Introduction to QWeb (templates, kanban)
- Tutorial 15: Final Word (runboat)
Copy link

@mash-odoo mash-odoo left a comment

Choose a reason for hiding this comment

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

Hello,
Thank you for your work..
Here are some comments..

…JS task

- Implemented user groups and access control
- Added category and privilege concepts
- Completed all 7 JavaScript exercises
…(Ch.1)

- Added XML demo data to preload sample records
- Implemented Todo List component fully in JS
- Completed Chapter 1 exercise as per OWL training
Implemented mail templates and QWeb report definitions.
Added XML structures for email content and report layouts.
…rkflows

- Finished JS tutorial ch.2 dashboard
- Auto project/task creation on property sold
- Task progress shown on property form
- CRM lead auto-managed from offers (won/lost)
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