Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2886 Переглядів

I need, for an automated action, to exclude all task with the tag "closed", it work when a task only have the tag "closed", but as soon as there is two tag (including the "closed" one) it doesn't work.

Do you know a solution that doesn't involved writing code in python ?

Аватар
Відмінити
Найкраща відповідь

Hello Mike Hallan,

Please find below code it may help you to resolve this issue, 

Please find code in comment. 

With this domain, when the automated action runs, it will exclude all tasks that have the "closed" tag, regardless of whether they have other tags. This should address your requirement to exclude tasks with the "closed" tag, even when they have additional tags.

I hope this will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com     

Skype: kalpeshmaheshwari

Аватар
Відмінити

Please find code here :-

In the "Domain" field, you can use the domain expression to exclude tasks with the "closed" tag

['!', ('tag_ids.name', '=', 'closed'), ('model', '=', 'project.task')]

Related Posts Відповіді Переглядів Дія
1
січ. 23
3221
4
бер. 24
6580
1
жовт. 23
2644
0
бер. 23
1618
1
черв. 20
4839