Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
projectproject.taskcalendarviewFilters
2351 Vues
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
Ignorer
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.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Conditionally hide columns in Task Tree View based on project title
project project.task
Avatar
Avatar
1
oct. 20
3458
How change Calendar View in Project for task.
project calendar project.task calendarview odoo8
Avatar
Avatar
Avatar
Avatar
4
janv. 19
10296
Endless title in Project module
project project.task
Avatar
Avatar
3
nov. 17
4571
Make task sequence unchangeable in Kanban Résolu
project project.task
Avatar
Avatar
2
avr. 16
6728
Automate a workflow
project crm project.task
Avatar
Avatar
Avatar
2
août 23
4376
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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