-
Notifications
You must be signed in to change notification settings - Fork 2.8k
leker - Technical training #1063
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: master
Are you sure you want to change the base?
Conversation
amah-odoo
left a comment
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.
Nice work 💪🏼
Let's go with your first review 🎉
estate/models/estate_property.py
Outdated
| garden_orientation = fields.Selection(string='Garden Orientation', | ||
| selection=[('north', 'North'), ('south', 'South'), ('est', 'Est'), ('west', 'West')]) |
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.
I prefer that way to be more readable for the selection fields
| garden_orientation = fields.Selection(string='Garden Orientation', | |
| selection=[('north', 'North'), ('south', 'South'), ('est', 'Est'), ('west', 'West')]) | |
| garden_orientation = fields.Selection([ | |
| ('north', 'North'), | |
| ('south', 'South'), | |
| ('east', 'East'), | |
| ('west', 'West') | |
| ], string='Garden Orientation',) |
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.
Done! Thanks
estate/__manifest__.py
Outdated
| {'name': 'Real Estate', | ||
| 'depends': ['base'], | ||
| 'application': True, | ||
| 'author': 'leker', | ||
| 'license': 'LGPL-3', | ||
| } |
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.
let's go with this format 👀
| {'name': 'Real Estate', | |
| 'depends': ['base'], | |
| 'application': True, | |
| 'author': 'leker', | |
| 'license': 'LGPL-3', | |
| } | |
| { | |
| 'name': 'Real Estate', | |
| 'depends': ['base'], | |
| 'application': True, | |
| 'author': 'leker', | |
| 'license': 'LGPL-3', | |
| } |
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.
Done!
db23143 to
37fd581
Compare
37fd581 to
cb5ea91
Compare

No description provided.