summaryrefslogtreecommitdiff
path: root/addons/fetchmail/views/mail_mail_views.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2018-05-14 15:04:19 +0000
committerXavier Morel <xmo@odoo.com>2019-05-27 12:00:39 +0000
commit10f1a1a0c451a3538ac77c6c06cd26fb5898fa9c (patch)
treea2fddfc82cf8a5f0525f877ad22c3f906981b96c /addons/fetchmail/views/mail_mail_views.xml
parent0679d0d54269ffe0664845e8e0bd1238110fd514 (diff)
[REM] multi from ir.actions.act_window
Task 1843603 * src_model is redundant with binding_model_id * multi -> binding_view_types (if empty => all views) (maybe should be empty by default yo?) * in convert, type => rec.get(type) but no @type possible on <act_window>... * removed deprecated auto_refresh & auto_search (not used anywhere (?)) closes odoo/odoo#24738 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/fetchmail/views/mail_mail_views.xml')
-rw-r--r--addons/fetchmail/views/mail_mail_views.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/fetchmail/views/mail_mail_views.xml b/addons/fetchmail/views/mail_mail_views.xml
index 8a808b368b0..b7447b34cd5 100644
--- a/addons/fetchmail/views/mail_mail_views.xml
+++ b/addons/fetchmail/views/mail_mail_views.xml
@@ -16,7 +16,8 @@
id="act_server_history"
name="Messages"
res_model="mail.mail"
- src_model="fetchmail.server"
+ binding_model="fetchmail.server"
+ binding_views="form"
domain="[('email_from', '!=', False), ('fetchmail_server_id', '=', active_id)]"
context="{'search_default_server_id': active_id, 'default_fetchmail_server_id': active_id}"/>