@ -37,13 +37,15 @@
<filter string= "Unassigned" name= "unassigned"
<filter string= "Unassigned" name= "unassigned"
domain="[('worker_id', '=', False)]" />
domain="[('worker_id', '=', False)]" />
<separator />
<separator />
<filter string= "J-5" name= "jminus1"
<filter string= "4 next days" name= "nextweek"
domain="[('end_time','> ', context_today().strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() + datetime.timedelta(days=4)).strftime('%%Y-%%m-%%d 23:59:59'))]" />
<filter string= "J-5" name= "jminus5"
domain="[('end_time','> ', (context_today() - datetime.timedelta(days=5)).strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() - datetime.timedelta(days=5)).strftime('%%Y-%%m-%%d 23:59:59'))]" />
domain="[('end_time','> ', (context_today() - datetime.timedelta(days=5)).strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() - datetime.timedelta(days=5)).strftime('%%Y-%%m-%%d 23:59:59'))]" />
<filter string= "J-4" name= "jminus1"
<filter string= "J-4" name= "jminus4 "
domain="[('end_time','> ', (context_today() - datetime.timedelta(days=4)).strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() - datetime.timedelta(days=4)).strftime('%%Y-%%m-%%d 23:59:59'))]" />
domain="[('end_time','> ', (context_today() - datetime.timedelta(days=4)).strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() - datetime.timedelta(days=4)).strftime('%%Y-%%m-%%d 23:59:59'))]" />
<filter string= "J-3" name= "jminus1 "
<filter string= "J-3" name= "jminus3 "
domain="[('end_time','> ', (context_today() - datetime.timedelta(days=3)).strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() - datetime.timedelta(days=3)).strftime('%%Y-%%m-%%d 23:59:59'))]" />
domain="[('end_time','> ', (context_today() - datetime.timedelta(days=3)).strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() - datetime.timedelta(days=3)).strftime('%%Y-%%m-%%d 23:59:59'))]" />
<filter string= "J-2" name= "jminus1 "
<filter string= "J-2" name= "jminus2 "
domain="[('end_time','> ', (context_today() - datetime.timedelta(days=2)).strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() - datetime.timedelta(days=2)).strftime('%%Y-%%m-%%d 23:59:59'))]" />
domain="[('end_time','> ', (context_today() - datetime.timedelta(days=2)).strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() - datetime.timedelta(days=2)).strftime('%%Y-%%m-%%d 23:59:59'))]" />
<filter string= "J-1" name= "jminus1"
<filter string= "J-1" name= "jminus1"
domain="[('end_time','> ', (context_today() - datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() - datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d 23:59:59'))]" />
domain="[('end_time','> ', (context_today() - datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','< ', (context_today() - datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d 23:59:59'))]" />