Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Odoo v16 Dashboard - filter by date range

Odoberať

Get notified when there's activity on this post

This question has been flagged
ReportingDashboardSpreadsheets
2 Replies
5597 Zobrazenia
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
Zrušiť
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
Zrušiť
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
Zrušiť
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!

Registrácia
Related Posts Replies Zobrazenia Aktivita
How can I create multiple dashboard in Odoo online?
Dashboard
Avatar
Avatar
1
sep 24
4134
Problem with many2many filters in Dashboards
Dashboard
Avatar
0
sep 24
1536
Only admin user has access to Sales Analysis data in Reporting module of Odoo v8 Solved
Reporting
Avatar
Avatar
Avatar
4
aug 16
6433
Full Activity Reporting Solved
Reporting v12
Avatar
Avatar
Avatar
3
sep 24
13210
How to change Reporting > Sales to use Creation Date? Solved
Reporting v15
Avatar
Avatar
2
apr 24
2362
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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