Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

How To Delete a Custom Dashboard?

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
menuheaderdashboarddeveloper
3 Respuestas
19346 Vistas
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
Descartar
Avatar
Paty L L
Mejor respuesta

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

Delete as needed.

Best regards.

1
Avatar
Descartar
Avatar
Alex Malone
Autor Mejor respuesta

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
Descartar
Avatar
Vasiliy Birukov
Mejor respuesta

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

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
How to get the full developer menu ? Edit menus not showing up. Resuelto
menu bug developer
Avatar
Avatar
2
dic 15
9123
Visualization links
menu dashboard spreadsheets visualization
Avatar
0
jun 24
1756
How to add a dynamic megamenu in odoo.sh?
menu header dynamic odoo16features
Avatar
0
ago 23
2215
How to make custom dashboard to start menu Resuelto
default menu dashboard discussions
Avatar
Avatar
2
jun 17
13514
I would need to know how I can hide the menu, header, and footer for a single page of the website (Not all Web) Resuelto
menu header Footer v15 landingpage
Avatar
Avatar
2
mar 24
3481
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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