Skip to content

Conversation

@SurryaT10
Copy link

Initialized Estate module and created 'estate_property' model.

…nifest.

Created 'estate_property' model and fields.
@robodoo
Copy link

robodoo commented Dec 15, 2025

Pull request status dashboard

@lost-odoo
Copy link

Hello, can you please ensure that your runbot is green 😄

Copy link

@lost-odoo lost-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, I already made a small review. Not a big deal but just some nitpicking stuff that we try to avoid. 😄

_name = 'estate.property'
_description = 'Estate Property'

name = fields.Char('Property Name', required=True)

Choose a reason for hiding this comment

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

We use double quotes for strings that will be shown on the view. So instead of 'Property Name' it is better to do "Property Name".

<menuitem id="estate_menu_properties" name="Properties" action="estate_property_action"/>
</menuitem>
</menuitem>
</odoo> 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.

Don't forget to always add a final new line 😄

'author': "Odoo",
'website': "https://www.odoo.com",

# Categories can be used to filter modules in modules listing

Choose a reason for hiding this comment

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

You can remove those comments here and under from the manifest file.

'security/ir.model.access.csv',
],
'application': True,
'installable': True,

Choose a reason for hiding this comment

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

By default when application is set, installable is set to true automatically.

'name': "Estate",

'summary': """
Starting module for "Estate"

Choose a reason for hiding this comment

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

I don't think Starting module for "Estate" in the summary and description are really appropriate here.

<field name="res_model">estate.property</field>
<field name="view_mode">list,form</field>
</record>
</odoo> 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.

Here too

@lost-odoo
Copy link

Also please don't forget to make one commit per chapter. Try to make a correct title. Don't hesitate to amend or squash your commits.

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