social/base_search_mail_content/__manifest__.py
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

18 lines
620 B
Python

# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# Copyright 2016 Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Base Search Mail Content",
"version": "13.0.1.0.1",
"author": "Eficent, SerpentCS, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social",
"category": "Social",
"data": ["data/trgm_index_data.xml"],
"depends": ["mail", "base_search_fuzzy"],
"license": "AGPL-3",
"installable": True,
}