diff --git a/addons/sale_timesheet/views/account_invoice_views.xml b/addons/sale_timesheet/views/account_invoice_views.xml
index fceb01f7446..d9b15dc7358 100644
--- a/addons/sale_timesheet/views/account_invoice_views.xml
+++ b/addons/sale_timesheet/views/account_invoice_views.xml
@@ -6,7 +6,7 @@
ir.actions.act_window
account.analytic.line
tree,form,graph
- {'search_default_timesheet_invoice_id': active_id}
+ [('timesheet_invoice_id', '=', active_id)]