-
Notifications
You must be signed in to change notification settings - Fork 2.6k
MALER Onboarding #995
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?
MALER Onboarding #995
Conversation
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.
Thanks for your work. Except for the missing blank lines, the pep8 is respected and that's good 😃.
estate/models/__init__.py
Outdated
@@ -0,0 +1 @@ | |||
from . import estate_property No newline at end of file |
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.
A blank line is missing at the end of your file. You have to put it at the end of all of your files 😃.
estate/models/estate_property.py
Outdated
garden_orientation = fields.Selection( | ||
string='Orientation', | ||
selection=[('north','North'), ('east','East'), ('south','South'), ('west','West')], | ||
) No newline at end of file |
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.
The blank line is also missing.
estate/security/ir.model.access.csv
Outdated
@@ -0,0 +1,2 @@ | |||
id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink | |||
access_estate_property,access_estate_property,model_estate_property,base.group_user,1,1,1,1 No newline at end of file |
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.
The blank line is also missing here too 😃.
estate/__init__.py
Outdated
@@ -0,0 +1 @@ | |||
from . import models No newline at end of file |
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.
Here too
estate/__manifest__.py
Outdated
'data': [ | ||
'security/ir.model.access.csv', | ||
], | ||
} No newline at end of file |
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.
Here too 😃
@@ -0,0 +1,22 @@ | |||
from odoo import models, fields | |||
|
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.
A blank line is missing here. You should have two blank lines above a class. It is a python convention coming from the pip8.
147498a
to
5108d34
Compare
No description provided.