Conversation
…mize 'selection' in manifest
[IMP] estate_property model: adding Active and Status fields
|
|
||
| # Pyre type checker | ||
| .pyre/ | ||
| .idea No newline at end of file |
There was a problem hiding this comment.
Try not to push changes to .gitignore, you can add a .gitignore in the folder that contains tutorials, odoo (community) and enterprise folder instead and it should still register.
If you only have tutorial opened, you should probably open a folder that contains those 3 folders as you can use it to search in the odoo/enterprise codebase for example which will help greatly later.
| name = fields.Char('Name', required=True) | ||
| description = fields.Text('Description') | ||
| postcode = fields.Char('Postcode') | ||
| date_availability = fields.Date('Availability Date', copy=False, default=lambda self: fields.Date.add(fields.Date.today(), days=90)) |
There was a problem hiding this comment.
We try to keep the lines around ~120 characters. If you use vscode you can configure the settings for rulers to add one there.
Nitpick: some people like to have string= before the string to make it clearer.
| date_availability = fields.Date('Availability Date', copy=False, default=lambda self: fields.Date.add(fields.Date.today(), days=90)) | |
| date_availability = fields.Date( | |
| string='Availability Date', | |
| copy=False, | |
| default=lambda self: fields.Date.add(fields.Date.today(), days=90)< | |
| ) |
| selection=[ | ||
| ("north", "North"), | ||
| ("south", "South"), | ||
| ("east", "East"), | ||
| ("west", "West")], |
There was a problem hiding this comment.
nitpick
| selection=[ | |
| ("north", "North"), | |
| ("south", "South"), | |
| ("east", "East"), | |
| ("west", "West")], | |
| selection=[ | |
| ("north", "North"), | |
| ("south", "South"), | |
| ("east", "East"), | |
| ("west", "West"), | |
| ], |
[FIX] estate_property : nitpick adjustments [MOV] menu items from estate_view to estate_menu
[FIX] estate_property model : fields label changed
- creating model - adding it to the security group - updating the menu - creating a view - updating the __init__.py and __manifest__.py
- creating model - adding it to the security group - creating the form view - updating __init__.py and __manifest__.py
- adding offer One2Many offer field - adding a offer's list view
- adding total area field + updating form view
|
Hey 👋 I'll be managing your review now to spread the load among the 4 of us 😄 |
…den area, garden orientation

[ADD] '.idea' to gitignore