<?xml version="1.0"?>
<search string="Burndown Chart">
                <field name="stage_id"/>
                <field name="project_id"/>
                <field name="user_ids"/>
                <field name="milestone_id" groups="project.group_project_milestone"/>
                <field name="date_assign"/>
                <field name="date_deadline"/>
                <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/>
                <separator/>
                <filter name="filter_date" date="date" string="Date" default_period="this_year,last_year"/>
                <filter name="filter_date_deadline" date="date_deadline"/>
                <filter name="filter_date_assign" date="date_assign"/>
                <filter string="Last Month" invisible="1" name="last_month" domain="[('date','&gt;=', (context_today() - datetime.timedelta(days=30)).strftime('%Y-%m-%d'))]"/>
                <filter string="Open tasks" name="open_tasks" domain="[('is_closed', '=', False)]"/>
                <filter string="Late Milestones" name="late_milestone" domain="[('is_closed', '=', False), ('has_late_and_unreached_milestone', '=', True)]" groups="project.group_project_milestone"/>
                <group expand="0" string="Group By">
                    <filter string="Date" name="date" context="{'group_by': 'date'}"/>
                    <filter string="Stage" name="stage" context="{'group_by': 'stage_id'}" invisible="1"/>
                </group>
            </search>
        