Skip to content

[ADD] estate: add an estate module #790

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 19 commits into
base: 18.0
Choose a base branch
from

Conversation

mamr-odoo
Copy link

This adds an estate module that can be used to manage advertisements and offers for different real estate properties as part of the "Sever framework 101" tutorial

This adds an estate module that can be used to manage advertisements and offers for different real estate properties as part of the "Sever framework 101" tutorial
@robodoo
Copy link

robodoo commented May 19, 2025

Pull request status dashboard

Copy link

@barracudapps barracudapps left a comment

Choose a reason for hiding this comment

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

Hi @mamr-odoo
Here are some tips to fit Odoo standards. Review all your code to be sure you applied the changes where it is needed!
🚀

This will clean up the estate property module from styling errors
@mamr-odoo mamr-odoo force-pushed the 18.0-add-estate-module-mamr branch from 1966ee9 to a5040d0 Compare May 20, 2025 08:29
mamr-odoo and others added 5 commits May 20, 2025 11:33
Server framework 101: Chapter 4

This will add security rules to the estate module and give read, write, create and unlink permissions to the group base.group_user
Server framework 101: Chapter 5

This will add menus to the estate module and specific attributes to some of the fields
Server framework 101: Chapter 6

This will add form, list, and search views to the estate property model
Server framework 101: Chapter 7 (WIP)

This will add estate property type model and will add property type, salesperson, and buyer to the estate property model
mamr-odoo added 6 commits May 21, 2025 09:41
Server framework 101: Chapter 7

This will add `estate property tag` and `estate property offer` models and add them to the `estate property` model and views
This will update the column widths for the estate properties list for better readability
Server framework 101: Chapter 8

This will add to `estate.property`:
- `best_price` calculated from `offer_ids` to get the highest price
- `total_area` calculated from `living_area` and `garden_area`
- interactions between the `garden`, `garden_area`, and `garden_orientation`

and to `estate.property.offer`:
- `date_deadline` and `validity` to keep track of how long the offer will stay valid
…ffer`

Server framework 101: Chapter 9

This will add to `estate.property`:
- `Sold` and `Cancelled` buttons to allow the users to set the update the state of properties

and to `estate.property.offer`:
- `Accept` and `Refuse` buttons to allow users to respond to offers
Server framework 101: Chapter 10

This will add the following constraints:
- Users will have to input valid expected prices
- Users won't be able to accept an offer with a price less than 0.9X the expected price
- Users will have to input valid offer prices
- Users won't be able to create different property tags or property types with the same names
mamr-odoo added 3 commits May 26, 2025 10:38
Server framework 101: Chapter 10

This will:
- Add inline properties list to property type
- Add widget for property state
- Add ordering to the lists
- Add conditional display to the fields
- Add colors to the property and offer lists based on their status
- Add search by living area greater than or equal for properties
- Add an "offers" smart button to property type
Server framework 101: Chapter 12

This will add a list of the available (new, offer received) to the user view
Server framework 101: Chapter 13

This will add an `estate_account` module which will automatically create the invoice for the buyer of a property when it is marked as sold

[ADD] estate: add module for invoicing customers after purchase

Server framework 101: Chapter 13

This will add an `estate_account` module which will automatically create the invoice for the buyer of a property when it is marked as sold
@mamr-odoo mamr-odoo force-pushed the 18.0-add-estate-module-mamr branch from b59a51f to 3e72a2c Compare May 27, 2025 15:00
mamr-odoo added 3 commits May 28, 2025 09:52
Server framework 101: Chapter 14

This will add a kanban view grouped by property type
This will replace the deprecated `kanban-box` template with the `card` template
This will remove the invisible fields from the estate forms because they are not needed
@mamr-odoo mamr-odoo force-pushed the 18.0-add-estate-module-mamr branch from 6693444 to 23ebd9a Compare May 28, 2025 09:22
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