Skip to content

PR Onboarding toher - #1367

Open
Tom-Hermann wants to merge 26 commits into
odoo:19.0from
odoo-dev:19.0-onboarding-chap2-toher
Open

PR Onboarding toher#1367
Tom-Hermann wants to merge 26 commits into
odoo:19.0from
odoo-dev:19.0-onboarding-chap2-toher

Conversation

@Tom-Hermann

@Tom-Hermann Tom-Hermann commented Jul 20, 2026

Copy link
Copy Markdown

[ADD] Chap-2

@robodoo

robodoo commented Jul 20, 2026

Copy link
Copy Markdown

Pull request status dashboard

@Tom-Hermann
Tom-Hermann requested a review from SaddemAmine July 20, 2026 13:20
@Tom-Hermann Tom-Hermann changed the title Server framwork101 chap2 exercices [ADD] Create Estate module for Chap2 exercice Jul 20, 2026
@Tom-Hermann Tom-Hermann changed the title [ADD] Create Estate module for Chap2 exercice PR Onboarding toher Jul 20, 2026
@Tom-Hermann
Tom-Hermann requested a review from YassinWalid July 22, 2026 07:06
@Tom-Hermann
Tom-Hermann force-pushed the 19.0-onboarding-chap2-toher branch from 715ac2a to f4ece5c Compare July 28, 2026 14:54

@SaddemAmine SaddemAmine 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.

Thank you for the PR Tom!

I invite you to read the git guidelines to understand more how to structure your commit messages, since you're currently violating how it is usually done.

Reading the coding guidelines is also a very good idea, I noticed you have lots of typos and naming issues throughout, focusing on them will help you integrate better in teams with big codebases where your diffs will need to be consistent with the rest.

Comment thread estate/models/__init__.py Outdated
Comment thread estate/models/estate_offer.py Outdated
Comment thread estate/models/estate_offer.py Outdated
Comment thread estate/models/estate_offer.py Outdated
Comment thread estate/models/estate_offer.py Outdated
Comment thread estate/view/estate_property_type_view.xml Outdated
Comment thread estate/view/estate_property_views.xml Outdated
Comment thread estate/__manifest__.py
'name': 'Estate',
'depends': ['base'],
'application': True,
'author': 'toher',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Keep in mind that this is usually Odoo, since we work here.

Comment on lines +13 to +15
self.env["account.move"].with_context(default_move_type='out_invoice').create({
"partner_id": property.buyer_id.id,
"move_type": "out_invoice",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I guess you don't need the context since you specify the move_type in the dict

Comment thread estate_account/__manifest__.py Outdated
Comment on lines +7 to +8
'data': [
],

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I wonder if you can just remove this

@Tom-Hermann
Tom-Hermann force-pushed the 19.0-onboarding-chap2-toher branch from cd780be to 34b4daf Compare July 31, 2026 11:14
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