diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-10-09 02:08:17 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-10-09 02:08:17 +0200 |
| commit | d74b4518052066446e2a1975a91ce53c745ca75a (patch) | |
| tree | c08180f88a512d15e37fbec628931f02b3825f65 /addons/sms/wizard/sms_composer_views.xml | |
| parent | ec162dd0cb5622ab6e56db1a63dab5f531a96f4a (diff) | |
| parent | f4105eb9c7010f8693e5d2fd20c0bd9d9cc2e483 (diff) | |
[MERGE] forward port branch 13.0 up to f4105eb9c70
Diffstat (limited to 'addons/sms/wizard/sms_composer_views.xml')
| -rw-r--r-- | addons/sms/wizard/sms_composer_views.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/addons/sms/wizard/sms_composer_views.xml b/addons/sms/wizard/sms_composer_views.xml index 1cb59d99dd3..e35b87949e9 100644 --- a/addons/sms/wizard/sms_composer_views.xml +++ b/addons/sms/wizard/sms_composer_views.xml @@ -39,7 +39,12 @@ </group> </sheet> <footer> - <button string="Send SMS" type="object" class="oe_highlight" name="action_send_sms"/> + <button string="Send SMS" type="object" class="oe_highlight" name="action_send_sms" + attrs="{'invisible': [('composition_mode', 'not in', ('comment', 'numbers'))]}"/> + <button string="Put in queue" type="object" class="oe_highlight" name="action_send_sms" + attrs="{'invisible': [('composition_mode', '!=', 'mass')]}"/> + <button string="Send Now" type="object" name="action_send_sms_mass_now" + attrs="{'invisible': [('composition_mode', '!=', 'mass')]}"/> <button string="Close" class="btn btn-secondary" special="cancel"/> </footer> </form> |
