Skip to content

Conversation

@lkerroum
Copy link

No description provided.

@robodoo
Copy link

robodoo commented Dec 15, 2025

Pull request status dashboard

@lkerroum lkerroum changed the title leker - T leker - Technical training Dec 15, 2025
@amah-odoo amah-odoo self-requested a review December 15, 2025 15:11
Copy link

@amah-odoo amah-odoo left a comment

Choose a reason for hiding this comment

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

Nice work 💪🏼

Let's go with your first review 🎉

@lkerroum lkerroum force-pushed the master-tutorial-server-leker branch 2 times, most recently from 37fd581 to cb5ea91 Compare December 16, 2025 13:09
Copy link

@amah-odoo amah-odoo left a comment

Choose a reason for hiding this comment

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

Thanks for your work so far 💪🏼

@lkerroum lkerroum force-pushed the master-tutorial-server-leker branch 2 times, most recently from 4b62d25 to 7b4c254 Compare December 22, 2025 09:02
@lkerroum lkerroum force-pushed the master-tutorial-server-leker branch from 7b4c254 to a5f32e0 Compare December 23, 2025 15:41
…buttons

[FIX] estate: domain ative_id bug

[FIX] estate: property type views prettier

[FIX] estate: missing color view in tag

[FIX] estate: always invisible field status removed from the offer view
@lkerroum lkerroum force-pushed the master-tutorial-server-leker branch from a5f32e0 to 99f9309 Compare December 23, 2025 15:50
Copy link

@amah-odoo amah-odoo left a comment

Choose a reason for hiding this comment

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

Here is the last touches on this PR good luck with JS

Good job 👏🏼

from . import estate_property_offer
from . import estate_property_tag
from . import estate_property_type
from . import base_res_users

Choose a reason for hiding this comment

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

for the extension inherit using _inherit we advice to use same exact file name for file_name, ClassName to ease the process of searching across all the extensions

return True

@api.model_create_multi
def create(self, vals):

Choose a reason for hiding this comment

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

as create can be done in batch is should take vals_list instead of vals it will be a list of dicts and each dict can have different values so you need to adapt the method 🤔

Comment on lines +99 to +100
msg = "The selling price cannot be lower than 90% of the expected price"
raise ValidationError(msg)

Choose a reason for hiding this comment

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

I believe error with raised here in the runbot when you have the string directly. this because the Runbot expect a translation object as error msg. we should discuss this together 🫡

Suggested change
msg = "The selling price cannot be lower than 90% of the expected price"
raise ValidationError(msg)
raise ValidationError(self,env._("The selling price cannot be lower than 90% of the expected price"))

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