<?xml version="1.0"?>
<list string="Next Activities" decoration-danger="date_deadline &lt; current_date and active == True" decoration-warning="date_deadline == current_date and active == True" decoration-success="date_deadline &gt; current_date and active == True" default_order="date_deadline" create="false">
                <header>
                    <button name="action_done" type="object" string="Done" icon="fa-check"/>
                    <button name="action_cancel" type="object" string="Cancel" icon="fa-times"/>
                    <button name="action_snooze" type="object" string="Snooze 7d" icon="fa-bell-slash"/>
                </header>
                <field name="res_name"/>
                <field name="activity_type_id"/>
                <field name="user_id" widget="many2one_avatar_user"/>
                <field name="summary"/>
                <field name="date_deadline" widget="remaining_days"/>
                <field name="date_done" string="Done Date" optional="hide"/>
                <button name="action_done" type="object" string="Done" icon="fa-check" invisible="active == False"/>
                <button name="unlink" type="object" string="Cancel" icon="fa-times" class="text-danger" invisible="active == False"/>
                <button name="action_snooze" class="text-warning" type="object" string="Snooze 7d" icon="fa-bell-slash" invisible="active == False"/>
            </list>
        