Skip to content

[ADD] estate: added table property, property_offer, property_tag, pro… #875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: 18.0
Choose a base branch
from

Conversation

Feeedeee
Copy link

…perty_type

@robodoo
Copy link

robodoo commented Jul 24, 2025

Pull request status dashboard

Copy link

@aboo-odoo aboo-odoo left a comment

Choose a reason for hiding this comment

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

Hey! Good job for this PR, I've been extra picky 🎉 Some comments apply at several places but I didn't write them all #lazy

A few generic comments:

  • Could you add a description to the PR
  • Usually, you'll want one commit / task to keep the chain of commits as clean and small as possible. As here, the task is to create the module Estate, it should be the one commit on your branch. Could you squash your commits into 1 ?

estate.access_estate_property,access_estate_property,estate.model_estate_property,base.group_user,1,1,1,1
estate.access_estate_property_type,access_estate_property_type,estate.model_estate_property_type,base.group_user,1,1,1,1
estate.access_estate_property_tag,access_estate_property_tag,estate.model_estate_property_tag,base.group_user,1,1,1,1
estate.access_estate_property_offer,access_estate_property_offer,estate.model_estate_property_offer,base.group_user,1,1,1,1

Choose a reason for hiding this comment

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

Also, add a EOF in everyfile even though runbot does not trigger an error

<menuitem id="estate_first_level_menu" name="Advertisements">
<menuitem id="estate_property_menu_action" name="Properties" action="estate_property_action"/>
</menuitem>
<menuitem id="estate_first_level_menu_2" name="Settings">

Choose a reason for hiding this comment

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

ID for a menu: <model_name>_menu, or <model_name>_menu_do_stuff for submenus.

<filter string="With Garden" name="with_garden" domain="[('garden','=',True)]" />
<filter string="With Garage" name="with_garage" domain="[('garage','=',True)]" />
<filter string="Available" name="available"
domain="['|', ('state' , '=', 'new'), ('state', '=', 'offer_received')]" />

Choose a reason for hiding this comment

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

What about this ?

Suggested change
domain="['|', ('state' , '=', 'new'), ('state', '=', 'offer_received')]" />
domain="[('state' , 'in', ('new', 'offer_received'))]" />

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