Skip to content

aalon - Technical Onboarding - #1419

Open
Elio1104 wants to merge 14 commits into
odoo:19.0from
odoo-dev:19.0-technical-training-aalon
Open

Elio1104 wants to merge 14 commits into
odoo:19.0from
odoo-dev:19.0-technical-training-aalon

Conversation

@Elio1104

Copy link
Copy Markdown

[ADD] '.idea' to gitignore

@robodoo

robodoo commented Sep 15, 2026

Copy link
Copy Markdown

Pull request status dashboard

@leclerc-leo leclerc-leo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👋 Great work

Comment thread .gitignore Outdated

# Pyre type checker
.pyre/
.idea No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Comment thread estate/models/estate_property.py Outdated
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))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Suggested change
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)<
)

Comment thread estate/models/estate_property.py Outdated
Comment on lines +22 to +26
selection=[
("north", "North"),
("south", "South"),
("east", "East"),
("west", "West")],

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nitpick

Suggested change
selection=[
("north", "North"),
("south", "South"),
("east", "East"),
("west", "West")],
selection=[
("north", "North"),
("south", "South"),
("east", "East"),
("west", "West"),
],

aalon-odoo added 2 commits September 16, 2026 11:35
[FIX] estate_property : nitpick adjustments

[MOV] menu items from estate_view to estate_menu
[FIX] estate_property model : fields label changed
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