Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

How To Delete a Custom Dashboard?

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
menuheaderdashboarddeveloper
3 Respostas
19357 Visualizações
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
Cancelar
Avatar
Paty L L
Melhor resposta

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

Delete as needed.

Best regards.

1
Avatar
Cancelar
Avatar
Alex Malone
Autor Melhor resposta

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
Cancelar
Avatar
Vasiliy Birukov
Melhor resposta

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
Cancelar
Alex Malone
Autor

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
Autor

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".

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
How to get the full developer menu ? Edit menus not showing up. Resolvido
menu bug developer
Avatar
Avatar
2
dez. 15
9139
Visualization links
menu dashboard spreadsheets visualization
Avatar
0
jun. 24
1759
How to add a dynamic megamenu in odoo.sh?
menu header dynamic odoo16features
Avatar
0
ago. 23
2219
How to make custom dashboard to start menu Resolvido
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) Resolvido
menu header Footer v15 landingpage
Avatar
Avatar
2
mar. 24
3489
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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