social/base_search_mail_content/models
Pedro M. Baeza 5074813213 [FIX] base_search_mail_content: Don't fail on views with searchpanel
On views with a searchpanel, xpath `//field[last()]` may select an element inside
the search panel, provoking the error "Only types ['many2one'] are supported for
category (found type text)".

This fix uses an stricter xpath for avoiding this situation.

TT25796
2022-03-15 11:40:09 +01:00
..
__init__.py [MIG] base_search_mail_content: Migration to 11.0 2022-03-15 11:40:09 +01:00
mail_thread.py [FIX] base_search_mail_content: Don't fail on views with searchpanel 2022-03-15 11:40:09 +01:00
trgm_index.py [IMP] base_search_mail_content: black, isort, prettier 2022-03-15 11:40:09 +01:00