Skip to content
Snippets Groups Projects
Commit 3bca1d52 authored by ryv-odoo's avatar ryv-odoo
Browse files

[FIX] mass_mailing_sms : fix KPI in draft


There is the % Clicked stat button in SMS marketing form view when it
is on draft or test. Fix to be only visible
when the state is not in draft or test

TASK_ID : 2078918

closes odoo/odoo#37615

Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent a7489fee
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@
type="object"
context="{'search_default_filter_clicked': True}"
class="oe_stat_button"
attrs="{'invisible': [('mailing_type', '!=', 'sms')]}">
attrs="{'invisible': ['|',('mailing_type', '!=', 'sms'),('state', 'in', ('draft','test'))]}">
<field name="clicks_ratio" string="Clicked" widget="percentpie"/>
</button>
</xpath>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment