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 | |
| 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')
| -rw-r--r-- | addons/mail/wizard/email_template_preview_view.xml | 1 | ||||
| -rw-r--r-- | addons/mail/wizard/mail_compose_message.py | 1 | ||||
| -rw-r--r-- | addons/mail/wizard/mail_compose_message_view.xml | 1 | ||||
| -rw-r--r-- | addons/mail/wizard/mail_resend_message_views.xml | 2 |
4 files changed, 0 insertions, 5 deletions
diff --git a/addons/mail/wizard/email_template_preview_view.xml b/addons/mail/wizard/email_template_preview_view.xml index 29b67689d01..305c6e6223d 100644 --- a/addons/mail/wizard/email_template_preview_view.xml +++ b/addons/mail/wizard/email_template_preview_view.xml @@ -41,7 +41,6 @@ <field name="res_model">email_template.preview</field> <field name="binding_model_id" ref="mail.model_mail_template"/> <field name="type">ir.actions.act_window</field> - <field name="view_type">form</field> <field name="view_mode">form</field> <field name="view_id" ref="email_template_preview_form"/> <field name="target">new</field> 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', diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml index 4cc0db5cd2f..cee9c5a7d58 100644 --- a/addons/mail/wizard/mail_compose_message_view.xml +++ b/addons/mail/wizard/mail_compose_message_view.xml @@ -90,7 +90,6 @@ <field name="res_model">mail.compose.message</field> <field name="binding_model_id" ref="mail.model_mail_compose_message"/> <field name="type">ir.actions.act_window</field> - <field name="view_type">form</field> <field name="view_mode">form</field> <field name="target">new</field> </record> diff --git a/addons/mail/wizard/mail_resend_message_views.xml b/addons/mail/wizard/mail_resend_message_views.xml index 929cc2fa243..1ab5ea047f7 100644 --- a/addons/mail/wizard/mail_resend_message_views.xml +++ b/addons/mail/wizard/mail_resend_message_views.xml @@ -52,7 +52,6 @@ <field name="name">Resend mail</field> <field name="res_model">mail.resend.message</field> <field name="type">ir.actions.act_window</field> - <field name="view_type">form</field> <field name="view_mode">form</field> <field name="target">new</field> </record> @@ -60,7 +59,6 @@ <field name="name">Discard mail delivery failures</field> <field name="res_model">mail.resend.cancel</field> <field name="type">ir.actions.act_window</field> - <field name="view_type">form</field> <field name="view_mode">form</field> <field name="target">new</field> </record> |
