<?xml version="1.0"?>
<data><xpath expr="//field[@name='rated_partner_id']" position="after">
                <field name="parent_res_name" position="move"/>
                <field name="res_name" position="move"/>
            </xpath>
            <xpath expr="//field[@name='rated_partner_id']" position="attributes">
                <attribute name="string">Assigned to</attribute>
            </xpath>
            <xpath expr="//field[@name='parent_res_name']" position="attributes">
                <attribute name="string">Project</attribute>
            </xpath>
            <xpath expr="//field[@name='res_name']" position="attributes">
                <attribute name="string">Task</attribute>
            </xpath>
            <xpath expr="//filter[@name='responsible']" position="after">
                <filter name="rating_text" position="move"/>
                <filter string="Project" name="groupby_project" context="{'group_by': 'parent_res_name'}"/>
                <filter name="resource" position="move"/>
                <filter name="customer" position="move"/>
            </xpath>
            <xpath expr="//filter[@name='resource']" position="attributes">
                <attribute name="string">Task</attribute>
            </xpath>
            <xpath expr="//filter[@name='responsible']" position="attributes">
                <attribute name="string">Assigned to</attribute>
            </xpath>
            <xpath expr="//filter[@name='filter_create_date']" position="replace">
                <filter name="filter_write_date" string="Submitted On" date="write_date"/>
            </xpath>
            <xpath expr="//filter[@name='month']" position="attributes">
                <attribute name="context">{'group_by':'write_date:month'}</attribute>
            </xpath>
            <xpath expr="//filter[@name='today']" position="attributes">
                <attribute name="domain">[('write_date', '&gt;', (context_today() - datetime.timedelta(days=1)).strftime('%Y-%m-%d'))]</attribute>
            </xpath>
            <xpath expr="//filter[@name='last_7days']" position="attributes">
                <attribute name="domain">[('write_date','&gt;', (context_today() - datetime.timedelta(days=7)).strftime('%Y-%m-%d'))]</attribute>
            </xpath>
            <xpath expr="//filter[@name='last_month']" position="attributes">
                <attribute name="domain">[('write_date','&gt;', (context_today() - relativedelta(months=1)).strftime('%Y-%m-%d'))]</attribute>
            </xpath>
        </data>