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

How to Filter and Display Planned Activities Linked to Project Tasks in Calendar View on Odoo v17?

Odoberať

Get notified when there's activity on this post

This question has been flagged
projectproject.taskcalendarviewFilters
2347 Zobrazenia
Avatar
Alessio Riggio

Hello Odoo Community,

I’m currently working with Odoo v17 and I’ve encountered an issue while trying to create a custom filter for project tasks and their related activities in the calendar view. I would like to visualize all planned activities (linked to tasks) with their status in the calendar of the Project module, but I'm facing the following problems:

The Context:

  1. I want to filter and display activities (like meetings, calls, etc.) that are associated with tasks from the Project module.
  2. The main goal is to visualize these activities in the calendar view under the Project module, with their due dates, names, and statuses.
  3. However, Odoo seems to apply the filter at the task level (model project.task), displaying only the task names instead of the activity names created and set for these tasks.

The Problems I Encountered:

  1. Model issue: When applying the filter on the project.task model, I’m getting the task names rather than the names of the planned activities. This filter works fine for showing the tasks, but my goal is to see the activities linked to those tasks (from the mail.activity model).
  2. Missing information: Even though the activities are linked to tasks, the filter doesn’t pull in the activity-related fields like the activity name, deadline, or type of activity. Instead, it keeps displaying the task-related fields.
  3. Calendar view limitation: The current filter setup works in the task view, but it doesn't display the detailed information for each activity in the calendar view—only the task name is shown.

What I Tried:

  • Filter based on project.task: I tried creating a filter using the activity_ids field in the project.task model, which successfully pulled the tasks that have associated activities. However, this only displayed the task names in the calendar, not the actual activity names or due dates.
  • Deadline filter: I also attempted to apply a filter to ensure that only activities with a deadline (date_deadline) would appear, but the calendar still shows the task data instead of the activity data.

My Goal:

I need to create a filter that:

  1. Displays all activities (from mail.activity) related to tasks in the calendar view under the Project module.
  2. Shows the activity name, due date, and status in the calendar instead of just the task information.
  3. Filters by activity statuses like planned, completed, or overdue.

Potential Solution:

After further investigation, it seems the proper way would be to apply a filter directly on the mail.activity model rather than project.task. The goal would be to filter the activities linked to the project.task model through the res_model field.

Here's an example of a filter I tried:

[('res_model', '=', 'project.task'), ('date_deadline', '!=', False)]

While this solution helps isolate the activities linked to project tasks, I still need to correctly visualize these activities in the calendar view. I'm considering adjusting the calendar view for mail.activity to make this work.

Request for Help:

I’m reaching out to the community for guidance on how to best approach this issue. If anyone has successfully managed to display planned activities linked to project tasks in the calendar view, I’d appreciate your advice on:

  1. How to apply a filter that works at the activity level and visualizes the activity name and deadline in the Project calendar.
  2. Whether there’s a way to modify the calendar view to display the activity-related fields rather than the task fields.

Any insights or suggestions would be greatly appreciated!

Thank you in advance!

0
Avatar
Zrušiť
Ray Carnes (ray)

It is great that you added such useful details to your question. Please consider updating the title of your post from "Personalized filters" to a question that offers an overview of what you ask as we get almost 1,000 posts a month and not everyone will open a post to find out what your question is.

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
Conditionally hide columns in Task Tree View based on project title
project project.task
Avatar
Avatar
1
okt 20
3456
How change Calendar View in Project for task.
project calendar project.task calendarview odoo8
Avatar
Avatar
Avatar
Avatar
4
jan 19
10296
Endless title in Project module
project project.task
Avatar
Avatar
3
nov 17
4571
Make task sequence unchangeable in Kanban Solved
project project.task
Avatar
Avatar
2
apr 16
6728
Automate a workflow
project crm project.task
Avatar
Avatar
Avatar
2
aug 23
4376
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