[IMP] project_parent_task : filter finished task
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m24s

This commit is contained in:
2025-11-18 10:55:37 +01:00
parent 17072b681c
commit 6af5442cec

View File

@@ -6,7 +6,7 @@
<field name="inherit_id" ref="project.view_task_form2" /> <field name="inherit_id" ref="project.view_task_form2" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//page[@name='extra_info']//field[@name='parent_id']" position="attributes"> <xpath expr="//page[@name='extra_info']//field[@name='parent_id']" position="attributes">
<attribute name="domain">[('project_id','=', project_id)]</attribute> <attribute name="domain">[('project_id','=', project_id), ('stage_id.fold', '=', False)]</attribute>
</xpath> </xpath>
</field> </field>
</record> </record>