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

How To Delete a Custom Dashboard?

Subscribe

Get notified when there's activity on this post

This question has been flagged
menuheaderdashboarddeveloper
3 Replies
19359 Views
Avatar
Alex Malone

Hi folks,

So, I have installed the dashboard module, board. This allows me to use/create dashboards in my system. As an experiement, I created a new dashboard through the user interface called "Alex's Board" and placed it in the default place (Reporting/Dashboards).

The problem is, I can't figure out how to delete it! I reckon it is going to be something super easy and obvious but I'm having a blond moment and can't figure it out.

As an additional question, I notice that all dashboards don't have anything in the header section. Most models / forms you get the name and breadcrumbs along with the edit/save/discard/more buttons in the header area, but dashboards don't have any of this. Do any developers know how this is achieved as it is something I would like to implement elsewhere in my system?

Many thanks for your time

-Alex

http://i186.photobucket.com/albums/x64/cameltosis_rocksoc/OpenERP/version_7_dashboard_issue_zps9637cfb3.png (image description)

0
Avatar
Discard
Avatar
Paty L L
Best Answer

Use Settings/User Interface/Menu Items to reach menu definitions.

Delete as needed.

Best regards.

1
Avatar
Discard
Avatar
Alex Malone
Author Best Answer

Hi folks,

I still dont have a proper answer to deleting custom dashboards beyond deleting them in the database directly (bad) but I have figured out the header bit. It is done by javascript and, in standard OpenERP, is hard coded to the board.board model.

So, here is some JS I wrote for my own dashboard module, hopefully it is useful for you all:

openerp.jcrm_dashboard = function(instance) {

instance.web.ViewManagerAction.include({

    init: function(parent, action) {      
        var flags = action.flags || {};
        if (action.res_model == 'jcrm.dashboard' && action.view_mode === 'form') {
            _.extend(flags, {
                views_switcher : false,
                display_title : false,
                search_view : false,
                pager : false,
                sidebar : false,
                action_buttons : false
            });
        }
        action.flags = flags
        this._super(parent, action);
    },
});

};

What this code basically does is monitor the action calls for when my model (jcrm.dashboard) is called and when the type of view is form. Then, it turns off some flags related to the header area, then calls the super function to continue with normal functionality. As you can see, the flags are sensibly named and this code is easy to implement.

My module is called jcrm_dashboard and this bit of javascript sits within /jcrm_dashboard/static/src/js/. I hope this is useful for other developers, it certainly unlocked some interesting features for us!

Would still love to be able to delete custom dashboards through the UI without needing admin privaledges or database access but at least I got something solved!

Regards,

-Alex

0
Avatar
Discard
Avatar
Vasiliy Birukov
Best Answer

For delete dashboard just click on close sign x in right top corner.

image description

If you need custom header, just write it when create it in bottom field (before Add button).

image description

-1
Avatar
Discard
Alex Malone
Author

There is no "x" in the top right corner of the dashboard itself. I understand that you can delete items off a dashboard that way, but I want to delete the entire dashboard including the menu item that also gets created with the dashboard. Also, could you expand on the second bit about the custom header? Any code examples you could post? Many thanks

Alex Malone
Author

Updated my original question with a link to an image that describes my problem better.

Vasiliy Birukov

You create new menu for dashboard not dashboard. Then goto "Settings/Technical/User Interface/Menu Items" and delete this menu items. For quick search you can type "Alex's Board".

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
How to get the full developer menu ? Edit menus not showing up. Solved
menu bug developer
Avatar
Avatar
2
Dec 15
9139
Visualization links
menu dashboard spreadsheets visualization
Avatar
0
Jun 24
1760
How to add a dynamic megamenu in odoo.sh?
menu header dynamic odoo16features
Avatar
0
Aug 23
2219
How to make custom dashboard to start menu Solved
default menu dashboard discussions
Avatar
Avatar
2
Jun 17
13521
I would need to know how I can hide the menu, header, and footer for a single page of the website (Not all Web) Solved
menu header Footer v15 landingpage
Avatar
Avatar
2
Mar 24
3492
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