[11.0][FIX] base_search_mail_content: Move message content search to last position
This commit is contained in:
parent
eaff6bc51a
commit
852ceaa394
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "Base Search Mail Content",
|
"name": "Base Search Mail Content",
|
||||||
"version": "11.0.1.0.0",
|
"version": "11.0.1.0.1",
|
||||||
"author": "Eficent,"
|
"author": "Eficent,"
|
||||||
"SerpentCS,"
|
"SerpentCS,"
|
||||||
"Tecnativa,"
|
"Tecnativa,"
|
||||||
|
@ -54,7 +54,7 @@ class MailThread(models.AbstractModel):
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
for node in doc.xpath("//field[1]"):
|
for node in doc.xpath("//field[last()]"):
|
||||||
# Add message_content in search view
|
# Add message_content in search view
|
||||||
elem = etree.Element(
|
elem = etree.Element(
|
||||||
'field',
|
'field',
|
||||||
|
Loading…
Reference in New Issue
Block a user