Browse Source
[IMP] search by email_from and reply_to
[IMP] search by email_from and reply_to
Introduce search of html fields Create indexes Update Readmepull/143/head
ahenriquez
8 years ago
5 changed files with 61 additions and 24 deletions
-
45base_search_mail_content/README.rst
-
5base_search_mail_content/__openerp__.py
-
12base_search_mail_content/data/trgm_index_data.xml
-
6base_search_mail_content/models/mail_thread.py
-
17base_search_mail_content/views/trgm_index_view.xml
@ -0,0 +1,17 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<openerp> |
||||
|
<data> |
||||
|
|
||||
|
<record model="ir.ui.view" id="trgm_index_view_form"> |
||||
|
<field name="name">trgm.index.view.form</field> |
||||
|
<field name="model">trgm.index</field> |
||||
|
<field name="inherit_id" ref="base_search_fuzzy.trgm_index_view_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="field_id" position="attributes"> |
||||
|
<attribute name="domain">[('ttype', 'in', ['char', 'text', 'html'])]</attribute> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
</data> |
||||
|
</openerp> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue