Draft
Conversation
Added a new estate module, enabled it as an application, and configured it to be installable.
Add estate property model with necessary fields and attribute definitions, referencing crm_recurring_plan
Add estate property model with necessary fields and attribute definitions, referencing crm_recurring_plan
Added id.model.access.csv added to security folder in estate module. Given read, write, update and unlink option.
Added security to module by given read, write, update and unlink permission on given module
Added simple window action estate view in views folder with proper model and structure
Added root menu, first level menu and action menus in estate module
Improved by adding state and active field which set the record visibility and with no duplication of state.
In estate property module list view added using estate_property_view xml file by using list tags
In estate property module form view added using estate_property_view xml file by using sheet and pages tags. It also contains HTML tags
bit-odoo
reviewed
Apr 8, 2026
| @@ -0,0 +1,9 @@ | |||
| <odoo> | |||
| <!-- Here id = unique id in DB, name = "what will be shown on screen" --> | |||
There was a problem hiding this comment.
Writing a comment is good, but no need to write a comment here. It's only required when there is complex computation, etc.
| garden_area = fields.Integer(string="Garden_area") | ||
| garden_orientation = fields.Selection(string="Garden Orientation", selection=[("north", "North"), ("east", "East"), ("west", "West"), ("south", "South")]) | ||
|
|
||
| # If it is false then newly created record won't be appear. but record is created when active is set true record will appear. |
There was a problem hiding this comment.
Writing a comment is good, but no need to write a comment here. It's only required when there is complex computation, etc.
|
|
||
| # If it is false then newly created record won't be appear. but record is created when active is set true record will appear. | ||
| active = fields.Boolean("Active", default=True) | ||
| # State can get selected and as copy is set False in duplicate it cannot get copied |
There was a problem hiding this comment.
Writing a comment is good, but no need to write a comment here. It's only required when there is a complex computation, etc.
estate/models/estate_property.py
Outdated
| # If it is false then newly created record won't be appear. but record is created when active is set true record will appear. | ||
| active = fields.Boolean("Active", default=True) | ||
| # State can get selected and as copy is set False in duplicate it cannot get copied | ||
| state = fields.Selection(string="state", selection=[("new", "New"), ("offer received", "Offer Received"), ("accepted", "Accepted"), ("sold", "Sold"), ("cancelled", "Cancelled")], default="new", copy=False) |
| 'application': True, | ||
| 'data': [ | ||
| 'security/ir.model.access.csv', | ||
|
|
Added filter for state wise filtering and also added group by for postcode. chapter 6 : Basic Views
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.

Created the estate.property model with required fields and attributes, with the reference of crm_recurring_plan.
Chapters 1 to 3 completed, and the Estate module has been created with the estate_property model.
Changes