diff options
| author | Adrien Dieudonne <adr@odoo.com> | 2021-03-25 08:39:55 +0000 |
|---|---|---|
| committer | Adrien Dieudonne <adr@odoo.com> | 2021-04-28 09:41:54 +0000 |
| commit | 0d3335237b0a754320c4050302af60f69b19f2cd (patch) | |
| tree | cdf9ce396d358fcc4302d19205f6de14949da8fe /addons/mass_mailing_sms | |
| parent | eb3772508ce518ff3f84724eebbe43fd1e040d77 (diff) | |
[FIX] *: removal of any possibility of purchasing IAP credit in iOS
According to the app-store guidelines we are not allowed to sell from
the iOS app.
Our updates are currently blocked because of this.
In the rush, we have no choice but to hide certain elements related to
IAP services.
Source: https://developer.apple.com/app-store/review/guidelines/#business
Related PR:
https://github.com/odoo/mobile-ios/pull/102
https://github.com/odoo/mobile-ios/pull/103
Task-ID: 2483253
Diffstat (limited to 'addons/mass_mailing_sms')
| -rw-r--r-- | addons/mass_mailing_sms/views/mailing_mailing_views.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/mass_mailing_sms/views/mailing_mailing_views.xml b/addons/mass_mailing_sms/views/mailing_mailing_views.xml index b3b1643d5a5..bbf64b00a59 100644 --- a/addons/mass_mailing_sms/views/mailing_mailing_views.xml +++ b/addons/mass_mailing_sms/views/mailing_mailing_views.xml @@ -35,7 +35,7 @@ <!-- Headers / Warnings --> <xpath expr="//header" position="after"> <field name="sms_has_insufficient_credit" invisible="1"/> - <div class="alert alert-warning text-center" attrs="{'invisible': [('sms_has_insufficient_credit', '=', False)]}" role="alert"> + <div class="alert alert-warning text-center o-hidden-ios" attrs="{'invisible': [('sms_has_insufficient_credit', '=', False)]}" role="alert"> <button class="btn-link py-0" name="action_buy_sms_credits" type="object"> @@ -45,7 +45,7 @@ </button> </div> <field name="sms_has_unregistered_account" invisible="1"/> - <div class="alert alert-warning text-center" attrs="{'invisible': [('sms_has_unregistered_account', '=', False)]}" role="alert"> + <div class="alert alert-warning text-center o-hidden-ios" attrs="{'invisible': [('sms_has_unregistered_account', '=', False)]}" role="alert"> <button class="btn-link py-0" name="action_buy_sms_credits" type="object"> @@ -184,7 +184,7 @@ <attribute name="attrs">{'invisible': [('mailing_type', '!=', 'mail')]}</attribute> </xpath> <xpath expr="//div[@name='div_responsible_avatar']" position="after"> - <div class="alert alert-warning mb-0 mt-3" role="alert" attrs="{'invisible': [('sms_has_insufficient_credit', '=', False)]}"> + <div class="alert alert-warning mb-0 mt-3 o-hidden-ios" role="alert" attrs="{'invisible': [('sms_has_insufficient_credit', '=', False)]}"> <a name="action_buy_sms_credits" type="object">Insufficient credits</a> </div> <div class="alert alert-warning mb-0 mt-3" role="alert" attrs="{'invisible': [('sms_has_unregistered_account', '=', False)]}"> |
