<?xml version="1.0"?>
<tree decoration-success="can_be_marked_as_done" decoration-danger="is_deadline_exceeded and not can_be_marked_as_done" decoration-muted="is_reached" editable="bottom" sample="1">
                <field name="name"/>
                <field name="deadline" optional="show"/>
                <field name="is_reached" optional="show"/>
                <field name="is_deadline_exceeded" invisible="1"/>
                <field name="task_count" invisible="1"/>
                <field name="can_be_marked_as_done" invisible="1"/>
                <button name="action_view_tasks" type="object" title="View Tasks" string="View Tasks" class="btn btn-link float-end" attrs="{'invisible': [('task_count', '=', 0)]}" groups="project.group_project_milestone"/>
            </tree>
        