diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2019-12-24 17:44:08 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-01-02 15:29:43 +0000 |
| commit | 32695d2747ad0c5e0cede5b1e003293a3c1bcc9f (patch) | |
| tree | f00fe3d6b04a99735976a1db3967778e7657a132 /addons/sms/wizard | |
| parent | 92472fbf9cabcc7c8a7bb5703bd5ac85ccd3a55e (diff) | |
[FIX] sms: do not add 'preview' action for SMS templates in dropdown menu
'Template Preview' action shouldn't be accessible through the action dropdown
as it is linked to a given template and accessible directly from the
template form view. Having it available in dropdown makes no sense.
closes odoo/odoo#42353
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/sms/wizard')
| -rw-r--r-- | addons/sms/wizard/sms_template_preview_views.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/sms/wizard/sms_template_preview_views.xml b/addons/sms/wizard/sms_template_preview_views.xml index ab9d3f90127..df7a583b596 100644 --- a/addons/sms/wizard/sms_template_preview_views.xml +++ b/addons/sms/wizard/sms_template_preview_views.xml @@ -30,7 +30,6 @@ <record id="sms_template_preview_action" model="ir.actions.act_window"> <field name="name">Template Preview</field> <field name="res_model">sms.template.preview</field> - <field name="binding_model_id" ref="sms.model_sms_template"/> <field name="type">ir.actions.act_window</field> <field name="view_mode">form</field> <field name="view_id" ref="sms_template_preview_form"/> |
