[FIX] hr_expense: search panel categories fix

There is an issue with the search panel categories that has a limit=20;
It means it will only display the categories matching the expense
reports in the view if they are in the 20 first records fetched.

As this search field isn't really useful, it was decided to remove
it completely.

Task id # 3224719

closes odoo/odoo#116074

X-original-commit: 376e6aac2854f291c0b919451c34595b2c2d3060
Signed-off-by: Florian Gilbert (flg) <flg@odoo.com>
Signed-off-by: Nicolas Viseur (vin) <vin@odoo.com>
This commit is contained in:
Nicolas (vin)
2023-03-22 08:19:00 +01:00
parent ae835037fc
commit 8259cf76ce
@@ -957,7 +957,6 @@
<searchpanel>
<field name="state" expand="1" select="multi" icon="fa-check-square-o" enable_counters="1"/>
<field name="employee_id" limit="20" hierarchize="0" select="one" icon="fa-users"/>
<field name="product_ids" limit="20" select="multi" icon="fa-tags"/>
<field name="company_id" expand="1" icon="fa-building" groups="base.group_multi_company"/>
</searchpanel>
</xpath>