Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

How To Delete a Custom Dashboard?

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
menuheaderdashboarddeveloper
3 Besvarelser
19356 Visninger
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
Kassér
Avatar
Paty L L
Bedste svar

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

Delete as needed.

Best regards.

1
Avatar
Kassér
Avatar
Alex Malone
Forfatter Bedste svar

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
Kassér
Avatar
Vasiliy Birukov
Bedste svar

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
Kassér
Alex Malone
Forfatter

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
Forfatter

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!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
How to get the full developer menu ? Edit menus not showing up. Løst
menu bug developer
Avatar
Avatar
2
dec. 15
9137
Visualization links
menu dashboard spreadsheets visualization
Avatar
0
jun. 24
1758
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 Løst
default menu dashboard discussions
Avatar
Avatar
2
jun. 17
13520
I would need to know how I can hide the menu, header, and footer for a single page of the website (Not all Web) Løst
menu header Footer v15 landingpage
Avatar
Avatar
2
mar. 24
3487
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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