Skip to content

19.0 tutorial-sasri#1159

Draft
sasri-odoo wants to merge 17 commits intoodoo:19.0from
odoo-dev:19.0-tutorial-sasri
Draft

19.0 tutorial-sasri#1159
sasri-odoo wants to merge 17 commits intoodoo:19.0from
odoo-dev:19.0-tutorial-sasri

Conversation

@sasri-odoo
Copy link

Implements Chapter 7 of the estate tutorial by introducing the property model, UI views, and relational fields using many2one, one2many, and many2many

@robodoo
Copy link

robodoo commented Feb 10, 2026

Pull request status dashboard

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!
Please revert the changes for awesome_owl , awesome_dashboard and website_airproof as of now
Here are some suggestions, mostly linter as of now!
Also, please update your PR title and description.
Furthermore, please update description in your commits while pushing, regarding the chapters and topics covered.

name = fields.Char()
description = fields.Text(required=True)
postcode = fields.Char()

Choose a reason for hiding this comment

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

Suggested change

Do not leave lines between fields

Comment on lines 30 to 33
("north", "North"),
("south", "South"),
("east", "East"),
("west", "West"),

Choose a reason for hiding this comment

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

Suggested change
("north", "North"),
("south", "South"),
("east", "East"),
("west", "West"),
('north', "North"),
('south', "South"),
('east', "East"),
('west', "West"),

try keeping the key in lower case

access_estate_property,access_estate_property,model_estate_property,base.group_user,1,1,1,1
access_estate_property_type,access_estate_property_type,model_estate_property_type,base.group_user,1,1,1,1
access_estate_property_tag,access_estate_property_tag,model_estate_property_tag,base.group_user,1,1,1,1
access_estate_property_offer,access_estate_property_offer,model_estate_property_offer,base.group_user,1,1,1,1 No newline at end of file

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

Comment on lines 8 to 10
"depends": [
"base",
],

Choose a reason for hiding this comment

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

Suggested change
"depends": [
"base",
],
"depends": [ "base"],

Comment on lines 4 to 5
<record id="estate_property_offer_list_view" model="ir.ui.view">
<field name="name">estate.property.offer.list</field>

Choose a reason for hiding this comment

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

Suggested change
<record id="estate_property_offer_list_view" model="ir.ui.view">
<field name="name">estate.property.offer.list</field>
<record id="estate_property_offer_view_list" model="ir.ui.view">
<field name="name">estate.property.offer.view.list</field>

For naming a view: <model_name>_view_<view_type>, where view_type is kanban, form, list, search, …
You can refer this guideline: https://www.odoo.com/documentation/19.0/contributing/development/coding_guidelines.html#xml-ids-and-naming

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