Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Схвалення
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Real Estate
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Управління нерухомістю
    • Садівництво
    • Асоціація власників нерухомості
    Consulting
    • Accounting Firm
    • Партнер Odoo
    • Marketing Agency
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога

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

  • CRM
  • e-Commerce
  • Бухоблік
  • Склад
  • PoS
  • Проект
  • MRP
All apps
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

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

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
projectproject.taskcalendarviewFilters
2216 Переглядів
Аватар
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
Аватар
Відмінити
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!

Реєстрація
Related Posts Відповіді Переглядів Дія
Conditionally hide columns in Task Tree View based on project title
project project.task
Аватар
Аватар
1
жовт. 20
3305
How change Calendar View in Project for task.
project calendar project.task calendarview odoo8
Аватар
Аватар
Аватар
Аватар
4
січ. 19
10203
Endless title in Project module
project project.task
Аватар
Аватар
3
лист. 17
4417
Make task sequence unchangeable in Kanban Вирішено
project project.task
Аватар
Аватар
2
квіт. 16
6562
Automate a workflow
project crm project.task
Аватар
Аватар
Аватар
2
серп. 23
4178
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة 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 - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція Odoo - це одночасно дуже проста у використанні та повністю інтегрована.

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