summaryrefslogtreecommitdiff
path: root/addons/fetchmail/views/fetchmail_views.xml
diff options
context:
space:
mode:
authorlbs-odoo <lbs@odoo.com>2019-07-17 10:31:16 +0000
committerYannick Tivisse <yti@odoo.com>2019-08-16 13:35:21 +0000
commit9a0fedfc657a71cd79aad03b562d6bc1b762422d (patch)
tree27440e67b7dba9e7e31d4468652d6abfeebc2f39 /addons/fetchmail/views/fetchmail_views.xml
parentbf347e7727b477575c4a2230ac01e25f9d08270e (diff)
[IMP] various: improve searchviews UX
Improve searchviews UX in all the modules TaskID: 2029731 closes odoo/odoo#35700 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/fetchmail/views/fetchmail_views.xml')
-rw-r--r--addons/fetchmail/views/fetchmail_views.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/addons/fetchmail/views/fetchmail_views.xml b/addons/fetchmail/views/fetchmail_views.xml
index 8c24f939cd5..811046f2e93 100644
--- a/addons/fetchmail/views/fetchmail_views.xml
+++ b/addons/fetchmail/views/fetchmail_views.xml
@@ -75,10 +75,12 @@
<field name="arch" type="xml">
<search string="Search Incoming Mail Servers">
<field name="name" string="Incoming Mail Server"/>
- <filter string="IMAP" name="imap" domain="[('server_type','=','imap')]" help="Server type IMAP."/>
- <filter string="POP" name="pop" domain="[('server_type','=','pop')]" help="Server type POP."/>
+ <filter string="IMAP" name="imap" domain="[('server_type', '=', 'imap')]" help="Server type IMAP."/>
+ <filter string="POP" name="pop" domain="[('server_type', '=', 'pop')]" help="Server type POP."/>
<separator/>
- <filter string="SSL" name="ssl" domain="[('is_ssl','=',True)]" help="If SSL required."/>
+ <filter string="SSL" name="ssl" domain="[('is_ssl', '=', True)]" help="If SSL required."/>
+ <separator/>
+ <filter string="Archived" name="inactive" domain="[('active', '=', False)]"/>
</search>
</field>
</record>