Skip to content

Conversation

@mobar-odoo
Copy link

No description provided.

@robodoo
Copy link

robodoo commented Dec 16, 2025

Pull request status dashboard

@mobar-odoo mobar-odoo force-pushed the master-tutorials-mobar branch from 8d0dd85 to e313e75 Compare December 19, 2025 15:46
Copy link

@ushyme ushyme left a comment

Choose a reason for hiding this comment

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

Looks good 👍🏾! Just a few tiny remarks.

@@ -0,0 +1,15 @@
{
'name': 'Estate',
'author': 'mobar',
Copy link

Choose a reason for hiding this comment

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

Suggested change
'author': 'mobar',
'author': 'Odoo S.A.',

As an employee, you work in the name of Odoo.

from odoo import fields, models


class RecurringPlan(models.Model):
Copy link

Choose a reason for hiding this comment

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

Suggested change
class RecurringPlan(models.Model):
class EstateProperty(models.Model):

The Python class name should follow the CamelCase version of the model's _name.

Comment on lines +7 to +14
<menuitem id="estate_property_menu"
name="Advertisements"
parent="estate_menu_root"/>

<menuitem id="estate_property_menu_action"
name="Properties"
parent="estate_property_menu"
action="estate_property_action"/>
Copy link

Choose a reason for hiding this comment

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

Suggested change
<menuitem id="estate_property_menu"
name="Advertisements"
parent="estate_menu_root"/>
<menuitem id="estate_property_menu_action"
name="Properties"
parent="estate_property_menu"
action="estate_property_action"/>
<menuitem id="estate_advertisements_menu"
name="Advertisements"
parent="estate_menu_root"/>
<menuitem id="estate_property_menu"
name="Properties"
parent="estate_property_menu"
action="estate_property_action"/>

Menu item IDs should be descriptive of what they represent.
Also, you can nest the menuitems to make the hierarchy easier to read.

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
Copy link

Choose a reason for hiding this comment

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

Suggested change
access_estate_property_offer,access_estate_property_offer,model_estate_property_offer,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

Missing newline at end of file.
This also applies to all your xml files

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