Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Odoo v16 Dashboard - filter by date range

Subscriure's

Get notified when there's activity on this post

This question has been flagged
ReportingDashboardSpreadsheets
2 Respostes
5579 Vistes
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
Best Answer

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
Best Answer

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?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
How can I create multiple dashboard in Odoo online?
Dashboard
Avatar
Avatar
1
de set. 24
4131
Problem with many2many filters in Dashboards
Dashboard
Avatar
0
de set. 24
1522
Only admin user has access to Sales Analysis data in Reporting module of Odoo v8 Solved
Reporting
Avatar
Avatar
Avatar
4
d’ag. 16
6432
Full Activity Reporting Solved
Reporting v12
Avatar
Avatar
Avatar
3
de set. 24
13201
How to change Reporting > Sales to use Creation Date? Solved
Reporting v15
Avatar
Avatar
2
d’abr. 24
2357
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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