Skip to content

[ADD] implemented new estate module#1196

Draft
keman-odoo wants to merge 10 commits intoodoo:19.0from
odoo-dev:19.0-tutorials-estate-keman
Draft

[ADD] implemented new estate module#1196
keman-odoo wants to merge 10 commits intoodoo:19.0from
odoo-dev:19.0-tutorials-estate-keman

Conversation

@keman-odoo
Copy link
Copy Markdown

  • chapter :2 task
  • initiated manifest.py

@robodoo
Copy link
Copy Markdown

robodoo commented Mar 11, 2026

Pull request status dashboard

@keman-odoo keman-odoo force-pushed the 19.0-tutorials-estate-keman branch from 2019566 to 29b047f Compare March 12, 2026 05:15
Copy link
Copy Markdown

@bit-odoo bit-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 @keman-odoo
Great Start!

No need to do a separate commit for this. a2c3ce4, ea70a78, 29b047f, 2dfefb7

Can you please follow commit message guidelines?
https://www.odoo.com/documentation/19.0/contributing/development/git_guidelines.html

Thanks

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

unneccary diff.

Comment on lines +1 to +2
from odoo import models, fields
from dateutil.relativedelta import relativedelta
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

<menuitem id="estate_advertisements_menu"
name="Advertisements"
parent="estate_menu_root"/>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

unneccary diff.

<odoo>

<menuitem id="estate_menu_root" name="Real Estate"/>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

unneccary diff.

'category': "Tutorials",
'depends': ['base'],
'summary': "manage properties, track buyers offers and handle property sales efficiently",
'sequence': "3",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

why sequence = 3?

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.

'sequence': 3 is used to control the order in which the module appears in the Apps menu.

@keman-odoo keman-odoo force-pushed the 19.0-tutorials-estate-keman branch 9 times, most recently from 27f3e5e to 4aeb068 Compare March 24, 2026 12:39
Copy link
Copy Markdown

@bit-odoo bit-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

You did many unneccary differences. Can you please look into it?

Can you please apply the changes that I gave in the previous review - #1196 (review)

Thank

Comment on lines +1 to +2
from dateutil.relativedelta import relativedelta
from odoo import fields, models
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you please follow the import coding guidelines?

</field>
</record>

</odoo> No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should be one empty line at the EOF.

<field name="tags_ids" widget="many2many_tags"/>
</h4>
</h1>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unneccary diff.

<field name="postcode"/>
<field name="date_availability"/>
</group>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unneccary diff.

<field name="selling_price"/>
</group>
</group>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unneccary diff.


<filter name="available"
string="Available"
domain="['|', ('state','=','new'), ('state','=','offer_received')]"/>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You can combine these two domains.

- chapter :2 task
- initiated manifest.py

[FIX] estate : fixed the errors

- added the  required white spaces and new line

[FIX] Resolve minor mistake

[FIX] estate: resolve minor mistake
- Create estate.property model.
- Add basic property fields.
- Add garden orientation selection.

[FIX] resolve minor issues in estate property model

- Fixed minor errors in estate.property model
- Corrected small issues from previous commit
- Created security/ir.model.access.csv
- Added the access file to __manifest__.py
- - Ensured estate.property model is properly defined
- Added tree and form views for estate.property
- Chapter - 5
- Added menu items for estate module
- Completed First UI tutorial exercise
- Add list, form and search views for estate.property with Available filter and Group By Postcode (Chapter 6)
- Created estate.property.type model
- Added window action for property types
- Added menu item under Settings
- Users can now create property types (name field)
- Added property type (Many2one)
- Added buyer and salesperson fields
- Added tags using Many2many
- Updated form view and menus
- Created estate.property.offer model
- Added fields: price, status, partner_id, property_id
- Implemented One2many relation (offer_ids) in estate.property
- Created list and form views for offers
- Added access rights for offer model
@keman-odoo keman-odoo force-pushed the 19.0-tutorials-estate-keman branch 2 times, most recently from c4786bc to fecc8b6 Compare March 27, 2026 13:20
- Implement computed field total_area using @api.depends
- Calculate total_area as sum of living_area and garden_area
- Use @api.depends for automatic updates
@keman-odoo keman-odoo force-pushed the 19.0-tutorials-estate-keman branch from fecc8b6 to c6dec2b Compare March 27, 2026 13:21
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