-
Notifications
You must be signed in to change notification settings - Fork 2.9k
19.0 tutorials kukor #1103
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?
19.0 tutorials kukor #1103
Conversation
1. Architecture Overview 2. A New Application
Fixed the white space error, added a space after the colon ( : ).
{
'name': 'Real Estate',
'author': 'Kunj Koradiya',
'description': 'This is the description'
}
Added space after each colon.
Added the line after the end of the code
{
'name': 'Real Estate',
'author': 'Kunj Koradiya',
'description': 'This is the description'
}
Added a new line at the end.
Fixed the white space error, which was at the end of the line in the description
'description': 'This is the description'
Removed the space from the end of the line
Fixed the license error, which later added at the last 'license': 'LGPL-3' Added the license
-Added the initial estate property model with basic fields. -Configured access rights via ir.model.access.csv to enable CRUD operation. -Introduced menu items to expose the model in the UI. -Created custom list, form, and search views to replace default generic views. -Improved usability by defining proper field layouts and search filters. Completed Chapter 3-6
-Removed the unwanted imports from the estate_property.py Completed chapter 3-6
- Added property types, tags, and offers models with views - Linked properties with buyer, salesperson, types, tags, and offers - Displayed offers and relations in property views Completed the Chapter 7
- Fixed the line Spacing in the __init__.py file Completed the Chapter 7
mash-odoo
left a comment
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 @kukor-odoo,
Nice start for the module.
Please apply the suggested changes wherever necessary.
- Updated naming conventions for models and views - Cleaned up imports, spacing, and unnecessary attributes - Aligned selection fields and filters with Odoo standards
- Removed the comma
buyer_id = fields.Many2one('res.users')
Add a computed field `best_price` on `estate.property`, calculated from the highest offer price (using `@api.depends`). Also implement an `@api.onchange` on the `garden` field to set default values for `garden_area` and `garden_orientation`. Completed Chapter 8
- Replaced inconsistent use of single and double quotes across Python files. - Fixed quote usage in the manifest file to align with coding standards.
- Added server actions and buttons to manage property state transitions - Implemented logic to accept/refuse offers and mark properties as sold - Added SQL constraints to ensure valid and consistent data - Added Python constraints to enforce business rules on pricing Completed Chapters 9 and 10
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,
I am getting this traceback, can you please resolve it?
Also, please update your PR title and description.
- Resolved the traceback issue in the estate module. - Removed the unnecessary property_id field from the offer form, as it is not required.
543fb53 to
7dde16c
Compare
- Improve estate views following the Sprinkles tutorial. - Add list decorations, inline editing, and statusbar widgets. - Apply deterministic ordering and sequence handling. - Enhance overall UI clarity and usability.
cf9976a to
bb1dd37
Compare
- Implement maintenance tracking with title, cost, and status fields. - Prevent property sale when maintenance requests are pending and calculate total maintenance costs.
de376d5 to
2ab5de2
Compare
mash-odoo
left a comment
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 going on this task..
Please go through my questions and suggestions
| ) | ||
| property_type_id = fields.Many2one( | ||
| related='property_id.property_type_id', store=True) | ||
| check_button = fields.Char(store=False) |
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.
Is there a need to add store=False here, also why is it a Char field?
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.
I used store=False because I didn’t want the field to be stored in the database—it was only needed temporarily for some logic that would change later. Initially, the field was a Boolean, but I later changed it to a Char field.
The reason check_button is a Char field is that I needed to pass a string value from it to the XML file. I switched from Boolean to Char so I could pass a string instead and observe the change, but I didn’t notice any difference.
- Applied the requested review changes to the estate module. - Improved the offer acceptance flow and updated related property behavior. - Adjusted views and field options to better match the expected workflow. - Overall, the module now follows the reviewed structure and logic.
4ed62d3 to
7b321f5
Compare
7b321f5 to
2aae513
Compare
- Add recordset operations, domain filtering, and computed fields following the Sprinkles chapter. - Extend existing models using proper inheritance and method overrides. - Introduce a new module with models, views, and access rights, and integrate it with the estate app. Completed Chapters 11, 12, and 13
2aae513 to
54dcff3
Compare

No description provided.