Hi all,
I want to show a form field of a project task only if the tag "PoC" is set. I tried the invisible condition:
[["tag_ids","=","PoC"]]
But it doesn't work. The field is always hidden with this condition, no matter if the tag is set or not. I have some automation's which also get triggered when a PoC tag is set. There the domain looks like this:
[["tag_ids.name","=","PoC"]]
Which works nicely for automation but if I try to use it for the invisible condition I get this error:
Error while validating view near: <form string="Task" class="o_form_project_tasks" js_class="project_form" __validate__="1"> <field name="allow_subtasks" invisible="1"/> <field name="is_closed" invisible="1"/> Invalid composed field tag_ids.name in attrs ({"invisible": [["tag_ids.name","=","PoC"]]})
Any hints how to only show a form field if the tag "PoC" is set?
Thanks a lot!