Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

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

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
projectproject.taskcalendarviewFilters
2354 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
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!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Conditionally hide columns in Task Tree View based on project title
project project.task
Imagine profil
Imagine profil
1
oct. 20
3461
How change Calendar View in Project for task.
project calendar project.task calendarview odoo8
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
ian. 19
10297
Endless title in Project module
project project.task
Imagine profil
Imagine profil
3
nov. 17
4571
Make task sequence unchangeable in Kanban Rezolvat
project project.task
Imagine profil
Imagine profil
2
apr. 16
6728
Automate a workflow
project crm project.task
Imagine profil
Imagine profil
Imagine profil
2
aug. 23
4381
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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