-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[ADD] Estate: Adding the new Real Estate Module's directory. #778
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: 18.0
Are you sure you want to change the base?
Conversation
af94d67
to
7593caa
Compare
In this PR, I initialized the basic structure of the new Estate module directory (manifest and init files). This work is related to the second chapter of the server framework 101 official documentation by Odoo.
7593caa
to
24780a6
Compare
In this PR, I added the main structure of the Estate model in order to create the estate_property table. This work is related to the third chapter of the technical onboarding (Server framework 101) from Odoo.
ba36917
to
1a7cb79
Compare
In this PR, I added the security access csv file (ir.model.access.csv) for the new Estate Model inorder to remove the undesired warning: WARNING rd-demo odoo.modules.loading: The models ['estate.property'] have no access rules in module estate, consider adding some, like: id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink. This commit is related to the 4th chapter of the Server Framework 101 from Odoo's documentation.
1a7cb79
to
7f3c578
Compare
In this commit, I added the estate property view and menus in order to start interacting with our new model using the UI. I also added two new attributes to the estate property model, which are active and state, and I set some attributes to have a default values and to not be copied when a duplication is created. This is related to the 5th chapter of the Server Framework 101 Odoo's course.
a6d5ddf
to
fac8089
Compare
In this commit, I added a customizable list view for the estate property view. Also, I added the search, filter and group by feature using specific attributes of the estate property. This part is based on the 6th chapter of Server Framework 101 Odoo's documentation.
fac8089
to
830ba91
Compare
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.
Great job!! Thanks for your work 🚀
Just couple of tiny comments
31fb2ad
to
d604277
Compare
In this commit, I added the needed relationships between types, tags and offers using Many2one, Many2many and One2many. I also added the needed views, forms and actions (only for tags and types). I added a new notebook page within the estate property view model to display and edit the list of offers. This commit is related to the 7th chapter of Server Framework 101 in Odoo's documentation.
b70bb04
to
422a131
Compare
In this commit, I added the following computed fields: - Estate Property: best_price and total_area - Estate Offer: validaty and date_deadline Also, I introduced the onchange method to set default values of the garden area and garden orientation when the garden attribute is set to True. This commit is related to the 8th chapter of Server Framework 101 Odoo's official documentation.
In this commit, I added buttons to the estate form view in order to set an estate as sold or canceled. Also, I did the same thing within the offer line, to accept or reject offers. This work is related to the 9th chapter of Server Framework 101 from Odoo's documentation.
…els. In this commit, I added the sql and python constraints for the prices of the estate and the offers. This commit is related to the 10th chapter of the Server Framework 101 Odoo's documentation.
422a131
to
bb3b38e
Compare
In this commit, I improved the UI to adapt it to the business needs of the estate module. I added decorations based on conditions, status bar widget, managing orders display in the list, manual ordering, and a stat button for related fields. This commit is related to the 11th chapter of Server Framework 101 from Odoo's official documentation.
094bfa3
to
5782795
Compare
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.
Great work 🚀
one tiny nitpicking which is the xml files does not follow an defined order like search, list, form, action.
9bd5ed9
to
5354f7b
Compare
In this commit, I created a new model inherited from the res.users and its view which is inherited from the parent view base.view_users_form. I also overrided the unlink (using ondelete decoration) for the property and the create for the property offer. I fixed the comment from ABHA to keep the same order of the records in the views (search, form, list, and actions). This commit is related to the 12th chapter of Server Framework 101 from Odoo's official documentation.
5354f7b
to
8d30b55
Compare
In this commit, I created the link between the estate and invoicing modules using a bridge module 'Estate Account'. I also overrided the 'action_set_sold' to create an invoice when a property sold. This work is related to the 13th chapter of Server Framework 101 from Odoo's official documentation.
In this commit, I added the kanban view to the estate property with the ability to display some information under specific conditions using the template conditions. Also, properties are grouped by property type and the drag and drop is disabled. This work is related to the 14th chapter of Server Framework 101 from Odoo's official documentation.
6017c6c
to
05f168d
Compare
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.
Thanks for your work 🤩
Great job just some tiny comments
In this commit, I fixed the received comments from ABHA.
6511276
to
3d26bd8
Compare
In this PR, I initialized the basic structure of the new Estate module directory (manifest and init files).
This work is related to the second chapter of the server framework 101 official documentation by Odoo.