diff options
| author | Hiral Bhavsar <hbh@odoo.com> | 2019-02-13 13:00:19 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2019-06-17 11:34:17 +0000 |
| commit | 3cd7ed07a29c89ddf193796c20a812b9bf21e284 (patch) | |
| tree | 4d5ee7bbacec81a2254eb6f6f6a7cecf0a0d649c /addons/mail/wizard/mail_compose_message.py | |
| parent | 3ab5612e4f5ec64ffa4a9b7cbf925af11a79a7fd (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/wizard/mail_compose_message.py')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index def7b58033b..18deb40800b 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -20,7 +20,6 @@ def _reopen(self, res_id, model, context=None): context = dict(context or {}, default_model=model) return {'type': 'ir.actions.act_window', 'view_mode': 'form', - 'view_type': 'form', 'res_id': res_id, 'res_model': self._name, 'target': 'new', |
