Skip to content

vibad - technical trainning#1239

Open
nausicaa73 wants to merge 20 commits intoodoo:19.0from
odoo-dev:19.0-tutorials-vibad
Open

vibad - technical trainning#1239
nausicaa73 wants to merge 20 commits intoodoo:19.0from
odoo-dev:19.0-tutorials-vibad

Conversation

@nausicaa73
Copy link
Copy Markdown

No description provided.

@robodoo
Copy link
Copy Markdown

robodoo commented Apr 21, 2026

Pull request status dashboard

@nausicaa73 nausicaa73 self-assigned this Apr 21, 2026
@nausicaa73 nausicaa73 requested a review from vandroogenbd April 21, 2026 15:09
Copy link
Copy Markdown

@vandroogenbd vandroogenbd left a comment

Choose a reason for hiding this comment

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

Off to a good start, I left some comments below about the formatting of your code. Also, your PR is missing a description 😉

Comment thread estate/models/__init__.py Outdated
Comment thread estate/models/estate_property.py
Comment thread estate/models/estate_property.py
Comment thread estate/models/estate_property.py Outdated
Comment thread estate/models/estate_property.py Outdated
Comment thread estate/view/estate_action.xml
Comment thread estate/view/estate_property_views.xml Outdated
Comment thread estate/__init__.py Outdated
Comment thread estate/__manifest__.py Outdated
Comment thread estate/__manifest__.py Outdated
Comment thread estate/models/estate_property.py Outdated
@nausicaa73 nausicaa73 force-pushed the 19.0-tutorials-vibad branch from e86cb22 to b2e44d5 Compare April 23, 2026 09:11
@nausicaa73 nausicaa73 force-pushed the 19.0-tutorials-vibad branch from b2823f8 to 7ab1515 Compare April 23, 2026 11:07
Copy link
Copy Markdown

@vandroogenbd vandroogenbd left a comment

Choose a reason for hiding this comment

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

I'll look at your xml later 😝

Comment thread estate/models/__init__.py Outdated
Comment thread estate/models/estate_property.py Outdated
Comment thread estate/models/estate_property.py Outdated
Comment thread estate/models/estate_property.py
Comment thread estate/models/estate_property.py Outdated
_order = "name"

name = fields.Char(required=True)
color = fields.Integer()
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

American english is ugly, too bad it's the default most of the time 😢

Suggested change
color = fields.Integer()
colour = fields.Integer()

(don't apply this, it's just me ranting)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

🇺🇸🇺🇸🇺🇸

Comment thread estate/models/estate_property_type.py Outdated
Comment thread estate/models/estate_property_type.py
Comment thread estate/models/inherited_model.py Outdated
Comment thread estate/__manifest__.py
Comment thread estate/models/estate_property.py Outdated
vibad and others added 4 commits April 27, 2026 16:31
This commit is here to introduce the testing framework of Odoo. Try running the
tests using `--test-tags TestEstateProperty`.

Doc:
https://www.odoo.com/documentation/18.0/developer/reference/backend/testing.html?highlight=tests#invocation

The tests were made such that the first one should work but the second one
should fail. Your job is to ensure both tests pass in the end. You should update
the behaviour of the appropriate models.

If you want, you can also add a small test of your own to get a feel for it.
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