Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar 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
  • Proyecto
  • 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

Odoo v16 Dashboard - filter by date range

Suscribirse

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

Se marcó esta pregunta
ReportingDashboardSpreadsheets
2 Respuestas
5600 Vistas
Avatar
Roy Antunovich

I want to have more flexibility with the date filter on Odoo Dashboard. It only gives the option to filter by Year, Quarter, Month, or Relative Period.

This means that we do not have the ability to look at a specific week, or look at our financial year (April 1 to March 31) within the dashboard.

Surely other businesses have this need?

Can someone answer one or all of these questions:

1- How do I add the ability to filter by week in dashboard?

2 - How do I add the ability to filter by a specific time period in dashboard? 

3 - Can you change the "Year" in Odoo to be a financial year instead of a calendar year, resulting in all "Year" filters working to a financial year? If so how?

0
Avatar
Descartar
Avatar
Tejas Patel
Mejor respuesta

Certainly, addressing these needs involves a mix of configuration, customization, and possibly development in Odoo. Here’s how you can approach each of these questions:

1. Adding the Ability to Filter by Week in Dashboard

To add a week filter to your Odoo dashboard, you generally need to customize the dashboard or create a custom filter. Here’s how you can achieve this:

Option A: Use Odoo Studio

  1. Access Odoo Studio:
    • Navigate to the dashboard you want to customize.
    • Open Odoo Studio by clicking on the “Studio” icon.
  2. Create a Custom Filter:
    • In the dashboard view, locate where you can add filters.
    • Add a new filter and configure it to include a week option. You may need to define the week ranges and the logic for calculating weeks.
  3. Configure the Filter:
    • Define the filter’s behavior to ensure it interacts correctly with the data displayed in the dashboard widgets.

Option B: Custom Module Development

  1. Develop a Custom Module:
    • If Odoo Studio does not provide sufficient customization, you might need a custom module. This involves development in Python and XML.
  2. Add Week Filtering Logic:
    • Create or modify a model to include week-based data filtering.
    • Update your dashboard views to integrate this new filter option.
  3. Deploy and Test:
    • Deploy the custom module and test the new week filter thoroughly.

2. Adding the Ability to Filter by a Specific Time Period in Dashboard

To filter by a specific time period (e.g., a custom date range) in your Odoo dashboard:

Option A: Use Odoo Studio

  1. Access Odoo Studio:
    • Open the dashboard in Odoo Studio.
  2. Add a Custom Date Range Filter:
    • Add a new filter to the dashboard.
    • Configure it to allow users to select a custom start and end date. This usually involves setting up a date range picker.
  3. Configure Data Queries:
    • Ensure that the dashboard widgets are configured to use the new date range filter.

Option B: Custom Module Development

  1. Create Custom Date Range Filters:
    • Develop a custom module that introduces a date range filter for the dashboard.
    • Use Python to handle the logic and XML for integrating it into the dashboard view.
  2. Modify Dashboard Views:
    • Update the XML views to incorporate the new filter and ensure that it works with your existing data.
  3. Deploy and Test:
    • Deploy the changes and test the functionality.

3. Changing the "Year" to Financial Year Instead of Calendar Year

Changing the "Year" filter to reflect a financial year (e.g., April 1 to March 31) involves configuring your fiscal year in Odoo. Here’s how you can approach this:

Option A: Configuring Fiscal Year

  1. Set Up Fiscal Years:
    • Go to Accounting > Configuration > Fiscal Years.
    • Create or modify fiscal years to align with your financial year. Define the start and end dates according to your fiscal year requirements (e.g., April 1 to March 31).
  2. Update Reports and Filters:
    • Update any financial reports or dashboards that use the “Year” filter to reflect the new fiscal year settings.
    • This might involve modifying report templates and views to consider the fiscal year configuration.

Option B: Custom Module Development

  1. Develop a Custom Fiscal Year Filter:
    • If you need more advanced changes, such as adjusting the behavior of filters and reports to automatically use the fiscal year, consider developing a custom module.
  2. Integrate Fiscal Year Logic:
    • Implement logic in the module to use the fiscal year settings for all relevant filters and reports.
  3. Deploy and Test:
    • Deploy the module and thoroughly test it to ensure that all aspects of the dashboard and reports reflect the fiscal year correctly.

Summary

  • Week Filter: Custom development or use Odoo Studio to add a week filter.
  • Custom Date Range: Add a date range picker using Odoo Studio or custom module development.
  • Financial Year: Set up fiscal years in Odoo and update dashboards and reports accordingly, or develop a custom module for advanced needs.

For all these customizations, if you’re not comfortable with development, it may be beneficial to work with an Odoo consultant or developer who can tailor the solution to fit your specific needs.

0
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hi,

Please refer to the documentation on  

Studio Book V17: Search 

and the blog on

How to Configure Search View, Filter & Group by in Odoo 17


Hope it helps

0
Avatar
Descartar
Roy Antunovich
Autor

this has some great tips for search, filter and group functions, however I don't think that this applies to dashboard?

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

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

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
How can I create multiple dashboard in Odoo online?
Dashboard
Avatar
Avatar
1
sept 24
4134
Problem with many2many filters in Dashboards
Dashboard
Avatar
0
sept 24
1537
Only admin user has access to Sales Analysis data in Reporting module of Odoo v8 Resuelto
Reporting
Avatar
Avatar
Avatar
4
ago 16
6433
Full Activity Reporting Resuelto
Reporting v12
Avatar
Avatar
Avatar
3
sept 24
13210
How to change Reporting > Sales to use Creation Date? Resuelto
Reporting v15
Avatar
Avatar
2
abr 24
2363
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información 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 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