summaryrefslogtreecommitdiff
path: root/addons/mail/controllers
diff options
context:
space:
mode:
authorHiral Bhavsar <hbh@odoo.com>2019-02-13 13:00:19 +0000
committerXavier Morel <xmo@odoo.com>2019-06-17 11:34:17 +0000
commit3cd7ed07a29c89ddf193796c20a812b9bf21e284 (patch)
tree4d5ee7bbacec81a2254eb6f6f6a7cecf0a0d649c /addons/mail/controllers
parent3ab5612e4f5ec64ffa4a9b7cbf925af11a79a7fd (diff)
[IMP] *: remove 'view_type' on window actions.
The old tree views don't really exist anymore, this odd pseudo-flag to dispatch between "list" and "tree" tree views has no reason to remain. Task 1937686 closes odoo/odoo#31243 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/mail/controllers')
-rw-r--r--addons/mail/controllers/main.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/mail/controllers/main.py b/addons/mail/controllers/main.py
index 39b7c53ddf5..3cd19d1bc8c 100644
--- a/addons/mail/controllers/main.py
+++ b/addons/mail/controllers/main.py
@@ -111,7 +111,6 @@ class MailController(http.Controller):
return cls._redirect_to_messaging()
url_params = {
- 'view_type': record_action['view_type'],
'model': model,
'id': res_id,
'active_id': res_id,