[FIX] account: harmonize analytic search view

With this [commit](https://github.com/odoo/odoo/commit/adb8ec875c9b4e299147c46dc60a87fd26fff91f), we created a new 'Analytic Reporting' menuitem.
But no `search_view_id` was specified, so it was falling back on the one from `hr_timesheet` (when installed), which we don't want.

This commit fixes that by forcing the use of the one defined in `analytic`.

task-3463639

closes odoo/odoo#138165

X-original-commit: ed60f37205acf85c05338b0cd00f4e2f5056de60
Signed-off-by: Florian Gilbert (flg) <flg@odoo.com>
Signed-off-by: John Laterre (jol) <jol@odoo.com>
This commit is contained in:
John Laterre (jol)
2023-10-10 11:07:58 +00:00
parent c659d10126
commit d3b7002cee
@@ -85,6 +85,8 @@
<field name="name">Analytic Reporting</field>
<field name="res_model">account.analytic.line</field>
<field name="view_mode">pivot</field>
<field name="search_view_id" ref="analytic.view_account_analytic_line_filter"/>
<field name="context">{'search_default_group_by_analytic_account': 1}</field>
</record>
</data>