[FIX] search view checkin_partner field enter and exit date

This commit is contained in:
Darío Lodeiros
2020-10-13 09:47:00 +02:00
parent 94a7d45321
commit d81ec9c6f1

View File

@@ -167,33 +167,33 @@
<filter <filter
string="Checkin by Month" string="Checkin by Month"
name="checkin_by_month" name="checkin_by_month"
context="{'group_by':'checkin', 'default_order': 'checkin asc'}" context="{'group_by':'enter_date', 'default_order': 'enter_date asc'}"
/> />
<filter <filter
string="Checkin by Week" string="Checkin by Week"
name="checkin_by_week" name="checkin_by_week"
context="{'group_by':'checkin:week', 'default_order': 'checkin'}" context="{'group_by':'enter_date:week', 'default_order': 'enter_date'}"
/> />
<filter <filter
string="Checkin by Day" string="Checkin by Day"
name="checkin_by_week" name="checkin_by_week"
context="{'group_by':'checkin:day', 'default_order': 'checkin'}" context="{'group_by':'enter_date:day', 'default_order': 'enter_date'}"
/> />
<separator /> <separator />
<filter <filter
string="Checkout by Month" string="Checkout by Month"
name="checkout_by_month" name="checkout_by_month"
context="{'group_by':'checkout', 'default_order': 'checkout asc'}" context="{'group_by':'exit_date', 'default_order': 'exit_date asc'}"
/> />
<filter <filter
string="Checkout by Week" string="Checkout by Week"
name="checkout_by_week" name="checkout_by_week"
context="{'group_by':'checkout:week', 'default_order': 'checkout'}" context="{'group_by':'exit_date:week', 'default_order': 'exit_date'}"
/> />
<filter <filter
string="Checkout by Day" string="Checkout by Day"
name="checkout_by_week" name="checkout_by_week"
context="{'group_by':'checkout:day', 'default_order': 'checkout'}" context="{'group_by':'exit_date:day', 'default_order': 'exit_date'}"
/> />
<separator /> <separator />
</group> </group>