Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Dashboard creation.

Subscribe

Get notified when there's activity on this post

This question has been flagged
mrpdashboardmrp.propertyodoo
4 Replies
24012 Views
Avatar
Logicious

Hello,

does anybody tell me how can i create a customise dash board .I am not familiar with it.  Basically my problem is that i want to create a sub menu under the Manufacturing and its should perform some view like graph,list,line..etc.I search lot to find how it can be done, but i couldn't get it. How could we make sub menu in dash board like (in sales -> Sales analysis ) .Give me a proper direction to find the solution for that.Please give any clues ,how to create or something.. please


thanking you,

Logicious

0
Avatar
Discard
Logicious
Author

@Pawan: Thanks Pawan , can i ask you something , when we are installing the sale , its automatically comes over there. How its possible?

Axel Mendoza

Do you want to create Dashboards and get packed in a module? I mean define the dashboard like a view using xml when you are develop or customizing a module?

Logicious
Author

developing a module with dash board... thats it

Niyas Raphy (Walnut Software Solutions)

https://www.youtube.com/watch?v=kfffu4Uzo10

Avatar
Prasanth ks
Best Answer

if you want to customize any dash board or create a new dashboard of existing module , just inhertis the view of that module you just only needed the xml file itself. i will given you an example... of what i did intomrp


<openerp>

<data>

<record id="view_work_order_graph" model="ir.ui.view">

<field name="name">mrp.production.workcenter.line.graph</field>

<field name="model">mrp.production.workcenter.line</field>

<field name="arch" type="xml">

<graph string="Manufacturing Analysis" type="pivot" stacked="True">

<field name="name"/>

<field name="production_id"/>

</graph>

</field>

</record>

<record id="filter_by_state_workcenter_id" model="ir.filters">

<field name="name"> By Work Center </field>

<field name="model_id">mrp.production.workcenter.line</field>

<field name="user_id" eval="False"/>

<field name="context">{'group_by':['workcenter_id']}</field>

</record>

<record id="filter_by_state_work_order" model="ir.filters">

<field name="name"> By WorkOrder State </field>

<field name="model_id">mrp.production.workcenter.line</field>

<field name="user_id" eval="False"/>

<field name="context">{'group_by':['state']}</field>

</record>

<record id="filter_by_scheduled_date_work_order" model="ir.filters">

<field name="name"> By Scheduled Date </field>

<field name="model_id">mrp.production.workcenter.line</field>

<field name="user_id" eval="False"/>

<field name="context">{'group_by':['date_planned']}</field>

</record>

<record id="action_work_order_report_all" model="ir.actions.act_window">

<field name="name">Work Order Analysis</field>

<field name="res_model">mrp.production.workcenter.line</field>

<field name="view_type">form</field>

<field name="view_mode">graph,tree</field>

<!-- <field name="search_view_id" ref="view_order_product_search"/>-->

<field name="view_id" ref="view_work_order_graph"/>

<!-- <field name="context">{'search_default_Sales':1, 'group_by_no_leaf':1,'group_by':[]}</field>-->

<field name="help">This report performs analysis on your quotations and sales orders. Analysis check your sales revenues and sort it by different group criteria (salesman, partner, product, etc.) Use this report to perform analysis on sales not having invoiced yet. If you want to analyse your turnover, you should use the Invoice Analysis report in the Accounting application.</field>

</record>

<menuitem action="action_work_order_report_all" id="work_order_analysis" parent="manufacture_parent_report_menu" sequence="4"/>

</data>

</openerp>

1
Avatar
Discard
Avatar
Tarek Mohamed Ibrahim
Best Answer

If I understood your request, the idea is to use the board.board model

Here is an example I created that installs a dashboard automatically with my module

        <record id="board_purchase_form_pm" model="ir.ui.view">
<field name="name">board.purchase.form</field>
<field name="model">board.board</field>
<field name="arch" type="xml">
<form string="Purchase Dashboard" version="7.0">
<board style="1-1">
<column>
<action name="%(purchase_pm_po_need_approval)d" string="PM : Purchases Orders need approval"/>
</column>
<column>
<action name="%(purchase_pm_po_need_receive)d" string="PM : Purchases Orders need Receive"/>
</column>
</board>
</form>
</field>
</record>

Here is one of the actions:

        <record id="purchase_pm_po_need_approval" model="ir.actions.act_window">
<field name="name">Purchase Orders</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">purchase.order</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="domain">[('state','in',['depheadapr'])]</field>
<field name="context">{'quotation_only': True}</field>
</record>

I hope this would help




4
Avatar
Discard
Avatar
Pawan
Best Answer

Logicious, You can navigate to Reporting -> Configuration -> My DashBoards and create a new dashboard(Menu), by selecting "Sales" as a parent menu you can create a new menu under it..

0
Avatar
Discard
Avatar
Logicious
Author Best Answer

@tarek : thanks buddy, finally you got the idea what needed. i will try it.

0
Avatar
Discard
Logicious
Author

@tarek: i got one error like this buddy-ParseError: "External ID not found in the system: room_availability.action_room_booking" while parsing /opt/odoo/odoo/addons/room_availability/room_view.xml:94, near

Pawan

You have to define a action named action_room_booking in you xml like what was suggested above by @Tarek for action purchase_pm_po_need_approval.

Logicious
Author

@pawan:- thank you pawan.

Logicious
Author

@prasanth: yes this is what i exactly needed. thank you

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Dashboard screen not loading
dashboard odoo
Avatar
0
Sep 15
5111
How to Configure Dashboard as Homepage in Odoo
community dashboard odoo
Avatar
0
Aug 24
3685
the first page that appears to be the dashboard odoo community Solved
community dashboard odoo
Avatar
Avatar
Avatar
2
Aug 24
4663
odoo.tools.convert.ParseError: "Cannot update missing record 'base.default_user'" while parsing file:/e:/pythonproject/odoo-12.0/addons/mrp/security/mrp_security.xml:25, near <record id="base.default_user" model="res.users"> Solved
xml mrp odoo
Avatar
1
Aug 21
4274
Migration to odoo v14
dashboard portal odoo
Avatar
0
Mar 21
3503
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now