Skip to content

[ADD] estate: added core functionality and improvement awesome_dashboard #827

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

Conversation

arat-odoo
Copy link

*estate_account ,*awesome_dashbaord,*awesome_owl
I created an estate module, and the main functionality is multiple models with
relationships, views (list, form, kanban), computed field, constraints, and
button actions. I applied the important concepts, onchange, inverse, status bars
,access control, multi-company rules, data population using an XML file, and
generation of PDF reports, with test cases. I built up a bridge module for
invoicing with an account. move. Besides, I used the OWL framework to create
interactive elements, including counters, cards, and to-do lists, with the usage
of props, slots, hooks, and real-time updates. I helped create dynamic
real-time dashboard that involved charts, statistics, lazy loading, settings
and a responsive UI.

arat-odoo added 14 commits June 5, 2025 10:41
Understand the fundamentals of the Odoo framework and its file paths.
Created the first Estate module and did the configuration file.
I created the model of the many fields and implemented the user access policies
and did the basic UI part of the estate module.
…een them

Implement basic views such as lists, forms, search with filter & group concepts.
Also implement the reletion between two models, such as one2many, many2one, etc.
Additionally, implement the Computed Fields that depend on other model fields
…tton action

Implement the onchanges concept in the garden field, as well as implement
The inverse function method, and understand the action type of the button
components. Implemented the concept of constraints in  model and error handling.
…dge module

Implement the status bar to view the application's status and how to work
in order and sequence in the particular field. Implementation of color option
and its attribute, which is working under different conditions, and also makes
a stat button, invisible options, and see the CRUD method, and inherit the model.
and created the estate account module.
Implement the invoice functionality inherited estate and property. override the
action_sold method  and use the account.move  for creation of invoice.
Implement the security features and added records the rules , and assign role of
users and give according access right  to module as well as also implement the
different companies wise assign the role of user and access it. also add it demo
data and regarding files.
…tionality

Implement the various keywords such as ref, eval, function and understanding the
dependencies of each and how to affect the data. make xml files offer ,property
type in data folder and make model of business trip, file of mail message for
subtypes and  implement the logging changes functionality.
create the template of estate for kanban views and see the various parameters of
template, also seen condition wise display the field in kanban views,and
restricted the property one column to another column in kanban view.
created report folder inside files and make template of pdf,also make to action
button for print the pdf report and split the template and implement subtemplate
and merged into main template and in template the display the offer of tables.
Improvement of PDF and added invoice created after selling property created file
In the test folder, and wrote a test case for the property, such that without
accepting the offer, can not sell the property as well as the sold property, and
The user cannot add an offer after selling.
Created a counter component and used this component to sum the two numbers
functionality and created a card component passes title,content as props, also
used a markup tag to convert the HTML tag.
created component of todoList and add task,remove task functionality implemented
using callback props and implemented hooks such as useRef ,implemented toggle
button in card component using slots concepts.
… statistic

Created new dashboard layout with add customer and lead buttons,also created new
component dashboarditem using slots. through rpc function implemented statistic
for dynamic information.
…ashboard

Create the services for caching using memoize and reactive. Also, implement
real-time update data using setinterval function. Implement the lazy loading
concept in the dashboard component and make the dynamic dashboard using props.
@robodoo
Copy link

robodoo commented Jun 24, 2025

Pull request status dashboard

@arat-odoo arat-odoo force-pushed the 18.0-training-arat branch from 3da3570 to 2a48df7 Compare June 25, 2025 06:53
'name': "Awesome Dashboard",

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

Choose a reason for hiding this comment

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

unnecessary changes

date.validity = delta.days

def action_accept(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 95 to 98
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() here.to avoid multiple database connections.

Comment on lines 104 to 107
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.

Created a settings button in the dashboard to add and remove items. also
Clicking on a section of the pie chart should open a list view of all orders
that have the corresponding size and also make a responsive design.
@arat-odoo arat-odoo force-pushed the 18.0-training-arat branch from 2a48df7 to c4079fd Compare June 26, 2025 12:44
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