Skip to content

vibel - Technical Training - #1384

Open
aski97 wants to merge 46 commits into
odoo:19.0from
odoo-dev:19.0-real-estate-vibel
Open

vibel - Technical Training#1384
aski97 wants to merge 46 commits into
odoo:19.0from
odoo-dev:19.0-real-estate-vibel

Conversation

@aski97

@aski97 aski97 commented Aug 17, 2026

Copy link
Copy Markdown

No description provided.

@robodoo

robodoo commented Aug 17, 2026

Copy link
Copy Markdown

Pull request status dashboard

@yoba-odoo yoba-odoo 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.

Such a good work 👌

Comment thread estate/views/estate_menus.xml Outdated
<menuitem id="estate_menu_properties_action" action="estate_properties_action"/>
</menuitem>
</menuitem>
</odoo> 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.

I think you already noticed and you changed it yourself multiple times. We have to add an empty line always in the end of each file

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.

Yes, I always forget it, I'll fix it asap!

Comment thread estate/views/estate_property_views.xml Outdated
<field name="view_mode">list,form</field>
</record>
</data>
</odoo> 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.

Same ☝️

aski97 added 20 commits August 18, 2026 11:27
…flag/unflag garden field in the estate property form view

@yoba-odoo yoba-odoo 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.

Neat work 💯
Just a few comments for enhancements

Comment thread estate/models/estate_property_offer.py Outdated

# offers should be higher than the ones we already have
current_prices = estate_property.property_offer_ids.mapped('price')
if current_prices and float_compare(val['price'], min(current_prices), precision_digits=2) < 0:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

you don't have to check for the minimum offer through min() you can use estate_property.property_offer_ids[-1] since you are already ordering the offers by price
here https://github.com/odoo/tutorials/pull/1384/changes#diff-8000c23a2907f34f0cc387be9dc4178411fda81b674724854bd4d048f9e11b16R12 so the offers are already sorted

Comment thread estate/security/ir.model.access.csv Outdated
access_estate_property,estate.property access,model_estate_property,base.group_user,1,1,1,1
access_estate_property_type,estate.property.type access,model_estate_property_type,base.group_user,1,1,1,1
access_estate_property_tag,estate.property.tag access,model_estate_property_tag,base.group_user,1,1,1,1
access_estate_property_offer,estate.property.offer access,model_estate_property_offer,base.group_user,1,1,1,1 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.

newline in the end of file 😇

Comment thread estate/__manifest__.py Outdated
'views/estate_property_tag_views.xml',
'views/res_users_views.xml',
'views/estate_menus.xml',
'security/ir.model.access.csv'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

this normally should come first in this list as security is the most important to be loaded first to apply it to the view while installing the module

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