-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[ADD] estate: estate_property model added #1142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 19.0
Are you sure you want to change the base?
Conversation
Created list, form, and search view, for the estate.property model. Chapter 6: Basic Views
- Created estate.property.type model. - Added views, action, and menu for property types. - Linked property type to estate.property model and views. Chapter:7 Relations Between Models
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
Good work on the task!
Here are some comments, mostly linter as of now!
Also, please update your PR description.
estate/views/estate_menus.xml
Outdated
| action="estate_property_type_action" /> | ||
|
|
||
| </menuitem> | ||
| </odoo> No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always add an extra line at the end of the file
estate/models/estate_property.py
Outdated
| ("north", "North"), | ||
| ("south", "South"), | ||
| ("east", "East"), | ||
| ("west", "West"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ("north", "North"), | |
| ("south", "South"), | |
| ("east", "East"), | |
| ("west", "West"), | |
| ('north', "North"), | |
| ('south', "South"), | |
| ('east', "East"), | |
| ('west', "West"), |
Try keeping the key in lowercase
- Added buyer and salesperson relations to estate.property. - Created estate.property.tag model and menus. - Updated form and list views accordingly. Chapter: 7-Relations Between Models
- Updated estate menu IDs for consistency. - Adjusted related action and parent references. - No behavior changes.
- Added estate.property.offer model. - Implemented price, status, partner and property relations. - Created list view. - Linked offers to properties via One2many. - Minor improvements and adjustments. Chapter: 7-Relations Between Models

create estate_property model and add the columns