Skip to content

Conversation

@mohamedakhalil18
Copy link

No description provided.

@robodoo
Copy link

robodoo commented Jan 19, 2026

Pull request status dashboard

Copy link

@artn-odoo artn-odoo left a comment

Choose a reason for hiding this comment

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

Good job so far, just a few styling nitpicks but it's good overall !
We try to always add a newline at the end of a file. This can be done by activating the Insert Final Newline if you are using vscode.
Also, we have pretty strict guidelines regarding the commit titles and message. You can find them here for future commits https://www.odoo.com/documentation/16.0/contributing/development/git_guidelines.html

Comment on lines 3 to 12
'version':'1.0',
'summary':'Track advertisements added for real estate and allow selling them',
'website':'https://www.odoo.com/app/estate',
'depends':[
'base'
],
'application':True,
'installable':True,
'author':'moali',
'license':'LGPL-3'

Choose a reason for hiding this comment

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

Try to leave a white space after :

Suggested change
'version':'1.0',
'summary':'Track advertisements added for real estate and allow selling them',
'website':'https://www.odoo.com/app/estate',
'depends':[
'base'
],
'application':True,
'installable':True,
'author':'moali',
'license':'LGPL-3'
'version':' 1.0',
'summary': 'Track advertisements added for real estate and allow selling them',
'website': 'https://www.odoo.com/app/estate',
'depends': [
'base'
],
'application': True,
'installable': True,
'author': 'moali',
'license': 'LGPL-3'

_name = 'estate_property'
_description = 'Estate Property'

name = fields.Char(string = "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 try not to put white spaces around the = sign in function calls or function definitions.
The same can be said for all the fields below.

Suggested change
name = fields.Char(string = "Property Name", required = True)
name = fields.Char(string="Property Name", required=True)

@mohamedakhalil18
Copy link
Author

I have created a new commit with the formatted code

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