Skip to content

[ADD] estate: added core functionalities & enhanced awesome dashboard #825

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

Draft
wants to merge 16 commits into
base: 18.0
Choose a base branch
from

Conversation

alap-odoo
Copy link

@alap-odoo alap-odoo commented Jun 24, 2025

  • estate_account, awesome_owl, awesome_dashboard
    This update delivers a complete real estate management module, including
    the property lifecycle with automated calculations, integrated invoicing, and
    secure access controls. UI/UX is significantly enhanced through improved list
    views, a new Kanban board, and custom CRUD operations. Further, reporting
    provides multi-template PDF generation with invoicing alerts. Finally, an
    interactive awesome dashboard adds real-time statistics, reusable components,
    and a comprehensive to-do list, optimized with caching, pie-chart with
    sale.order as an integrated action, and full mobile responsiveness,
    including multi-language support.

task - 4900464

alap-odoo added 14 commits June 5, 2025 10:55
Added the new estate Folder. I created the init and manifest files for this.
Moreover, I have created the models for schema definition, security for the
assigning access rights, created the views folder, and made the three-level
menuitems along with the list and form view.
Created 3 new models named types, tags, offers, and their respective forms,
lists and search views.
Moreover, the many2one, many2many, and one2many relationships were implemented.
Further, the compute functions were also implemented to calculate the total area
and the best offer price.
Moreover, implemented the onchanges and inverse functions also.
Added sold and cancel buttons, completed their functionalities along with the
offer accept, and reject offer functionality.
Moreover, added the required sql constraints in the model files.
… module

added functionalities like inline list view, status bar widget, conditionally
hiding the buttons, color decoration of rows in list view, and manual ordering
of rows, enhanced the filter_search functionalities with the available as a
default field in the search view, adding the stats button of the offer.
Moreover, custom logic was added to CRUD operations,
and the res.user model was inherited.
Lastly, created the estate_account bridge module.
inherited the estate.property model and overide the action_sold method to
generate the invoice using account_move.
added the different groups i.e., manager and agent, and assigned each employee to
group and restricted the data access.
Moreover create the data file for adding the demo data using both csv and xml
…eature

Added XML files to update the offer_ids in the estate.property model.
Moreover, created a new business trip model and made their respective views.
Further added the chatter section and customised the notification message
in chatter based on business logic
Added the new kanban view of the estate properties and grouped them based on
property type. Moreover, restricted the properties from being dragged.
Created different templates and sub-templates of the report for downloading
a PDF of properties and their offers, and salesmen and associated properties.
Moreover, added a stat button for downloading the PDF.
Updated the PDF report functionality to notify the user regarding already
invoiced properties. Moreover, different test cases were added for the
implemented functionality.
Created counter subcomponent. Moreover, the card component was added along
with the markup.  Further explored the .bind method for displaying the sum of
two counters.
Created the complete todo list, including create, read, and delete
functionalities. Moreover, added the utils.js file for auto-focus
functionality implementation. Further, added a slot and a toggle button
in the card component.
…rd module

Created customer and lead buttons and given their respective click events.
Moreover, the cards were added to the dashboard component.
Further, the statistics are added in the dashboard through an RPC call.
Created a cached network calling using memoize, implemented a pie chart,
added auto-fetching of data after an interval, incorporated lazy loading, and
made the dashboard more dynamic and created a service for each item
In the dashboard.
@robodoo
Copy link

robodoo commented Jun 24, 2025

Pull request status dashboard


'summary': """
"name": "Awesome Dashboard",
"summary": """

Choose a reason for hiding this comment

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

unnecessary changes

value: { type: [String, Number] }
}

_t(...args) {

Choose a reason for hiding this comment

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

why?

record.property_id.selling_price = 0.0

def action_accept_offer(self):
for record in self:

Choose a reason for hiding this comment

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

I think loop is not require here.

Comment on lines 118 to 121
record.status = "accepted"
record.property_id.selling_price = record.price
record.property_id.buyer_id = record.partner_id
record.property_id.state = "offer_accepted"

Choose a reason for hiding this comment

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

You can use .write().

Comment on lines 127 to 130
record.status = "refused"
record.property_id.state = "offer_received"
record.property_id.buyer_id = False
record.property_id.selling_price = 0.0

Choose a reason for hiding this comment

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

you can use .write() here.to avoid multiple database connections.

@alap-odoo alap-odoo force-pushed the 18.0-training-alap branch 2 times, most recently from 21e61c6 to fbdb84f Compare June 26, 2025 11:58
…lldown,

Created the check and uncheck dashboard items on both localStorage and the
server side inside the res.users model. Moreover, added the Hindi translation of
the dashboard. Further, opening the list view of sale.order on click of the
pie chart slice. Moreover, made the dashboard card mobile responsive.
@alap-odoo alap-odoo force-pushed the 18.0-training-alap branch from fbdb84f to 809bfc3 Compare June 26, 2025 12:53
…tion

Added an automated auction system to the real estate module, bringing in new
fields and smart buttons that show up at the right time. It now automatically
sends emails to the winning bidder and others. You can also see properties and
make offers right from the website, which has a countdown timer. Additionally,
a new automatic job will accept the highest offer once the auction concludes.
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