<filter icon="terp-check" string="Pending" domain="[('state','=','wait')]" help="Appraisal that are in Plan In Progress state"/>
<filter icon="terp-camera_test" string="In progress" domain="[('state','=','progress')]" help="Appraisal that are in waiting appreciation state"/>
<separator orientation="vertical"/>
- <filter icon="terp-go-week" string="7 Days" help="Appraisal to close within the next 7 days"
- domain="[('date', '>=', (datetime.date.today()-datetime.timedelta(days=7)).strftime('%%Y-%%m-%%d'))]" />
- <separator orientation="vertical"/>
<filter icon="terp-gnome-cpu-frequency-applet+" string="Late"
help="Appraisal that overpassed the deadline" domain="[('date','<=',(datetime.date.today()).strftime('%%Y-%%m-%%d'))]" />
<separator orientation="vertical"/>
<field name="employee_id" />
<field name="plan_id" widget="selection" />
+ <field name="date"/>
</group>
<newline/>
<group expand='0' string='Group by...'>
<field name="arch" type="xml">
<search string="Appraisal Analysis">
<group>
- <filter icon="terp-go-year" string="Year"
- name="year"
- domain="[('create_date','<=', time.strftime('%%Y-%%m-%%d')),('create_date','>=',time.strftime('%%Y-01-01'))]" help="Evaluation done in current year"/>
- <separator orientation="vertical"/>
- <filter icon="terp-go-month" string=" Month " name="month"
- domain="[('create_date','<=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('create_date','>=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]"
- help="Evaluation done in current month"/>
- <filter icon="terp-go-month" string=" Month-1 "
- domain="[('create_date','<=', (datetime.date.today() - relativedelta(day=31, months=1)).strftime('%%Y-%%m-%%d')),('create_date','>=',(datetime.date.today() - relativedelta(day=1,months=1)).strftime('%%Y-%%m-%%d'))]"
- help="Evaluation done in last month"/>
- <separator orientation="vertical"/>
<filter string="In Progress" icon="terp-camera_test" domain="[('state', '=' ,'wait')]"
help = "In progress Evaluations"/>
<filter string="Final Validation" icon="terp-camera_test" domain="[('state','=','progress')]"
<field name="deadline"/>
<separator orientation="vertical"/>
<field name="state"/>
+ <field name="create_date"/>
</group>
<newline/>
<group expand="1" string="Group By...">