-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[ADD] estate: initial module structure and basic features #1147
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
base: 19.0
Are you sure you want to change the base?
Conversation
bit-odoo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @yatiw-odoo
Good Job!
Can you please improve all your commit message titles and descriptions according to the guidelines?
Thanks.
estate/models/estate_property.py
Outdated
| from odoo import models, fields | ||
| from dateutil.relativedelta import relativedelta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please follow these guidelines?
https://www.odoo.com/documentation/19.0/contributing/development/coding_guidelines.html#imports
estate/security/ir.model.access.csv
Outdated
| id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
| access_estate_property,access_estate_property,model_estate_property,base.group_user,1,1,1,1 | ||
| access_estate_property_type,access_estate_property_type,model_estate_property_type,base.group_user,1,1,1,1 | ||
| access_estate_property_tag,access_estate_property_tag,model_estate_property_tag,"base.group_user",1,1,1,1 No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be one empty line at EOF.
estate/views/estate_menus.xml
Outdated
| action="estate_property_tag_action" /> | ||
| </menuitem> | ||
| </menuitem> | ||
| </odoo> No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be one empty line at EOF.
| <field name="view_mode">list,form</field> | ||
| </record> | ||
|
|
||
| </odoo> No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be one empty line at EOF.
| </list> | ||
| </field> | ||
| </record> | ||
| <record id="estate_property_type_view_form" model="ir.ui.view"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be one empty line before it for better readability.
.gitignore
Outdated
| *.egg | ||
| MANIFEST | ||
|
|
||
| pract.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unneccary diff.
Estate module is defined to handle the real state application logic and possess scalable structure. The estate module is created to allow property owners and brokers to list their properties in estate module application. Allowing users to buy and sell properties digitally. chapter:1,2,3
Added new fields to estate.property to support postcode and availability features for easy filtering &grouping. availability, postal areas and related descriptions is pretty useful in this application for buyer's perceptive. Also search bar is required with some useful predefined filters for user experience. menus are added for easy navigation inside the app. chapter 4,5,6
Created models, views, menus & securities for types, tags models each property should have its type for easy searching and identifying . tags also introduced to show the specialities of the properties to the users and buyers. Each models like types and tags shown in the application so security rules are implemented for securing from anonymous activities. menus need to added for easy lookup and actions. chapter 7(ongoing)
7fc42ab to
4acbe67
Compare
Users can create & edit property type, buyer & salesperson etc & even can create offers on property. now users can directly select the property type, buyer & salesperson inside views. useful for viewing the list of offers that buyers have created with the status to show accepted or rejected options. This feature enable grouping and linking the data in our estate module's models which reflected in views. chapter 7
d62d41b to
a6f918b
Compare
Auto compute logic helps users in calculation of the logic dependent fields in estate app. Users can feel irritated when needs to calculate everything that's why auto compute is added on the on the fields. it enhances user experience and users can directly see the best offers among all the offers which will grab buyers and property owners attention and current interactions with property which increase chances buying & selling activity in the application. chapter 8 (started)

initialized manifest file and init file for real estate module. created model with two fields name and description and security file for it with the permission to the base.user_group 1,1,1,1 , and created a list view with action and menu.