summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOdoo's Mergebot <robodoo@odoo.com>2021-04-28 14:23:25 +0200
committerGitHub <noreply@github.com>2021-04-28 14:23:25 +0200
commit4bc989be00a57918a63af76bf76cb543508e3967 (patch)
treedf2b10b57d0d7b4801e95695d30ae03a2b8356ab
parenteb3772508ce518ff3f84724eebbe43fd1e040d77 (diff)
parentdf1cf7adf56e8fdf0a5348a5154b661f6b1f81b8 (diff)
[FIX] *: AppStore Review compliance
The goal of this PR is to solve some issues with the last AppStore review. Without these changes, we are no longer able to update the mobile app on iOS. Here is a summary of the feeback we received: > **Guideline 2.5.8 - Performance - Software Requirements** > https://developer.apple.com/app-store/review/guidelines/#software-requirements > > Your app includes a dashboard view that presents multiple windows at once. > The Apple iOS Human Interface Guidelines allow multiple screens in an app. However, access to these screens should always be sequential, not simultaneous. > > _Next Steps_ > > To resolve this issue, please modify your app to provide an alternate way users can accomplish the same task in a single screen or sequence of screens. > > **Guideline 3.1.1 - Business - Payments - In-App Purchase** > https://developer.apple.com/app-store/review/guidelines/#in-app-purchase > > We found in our review that your app or its metadata provides access to mechanisms other than in-app purchase for purchases or subscriptions to be used in the app, which does not comply with the App Store Review Guidelines. Specifically: > Your app includes an account registration feature for businesses and organizations, which is considered access to external mechanisms for purchases or subscriptions to be used in the app. > > _Next Steps_ > > To resolve this issue, please remove features, account registrations links, and any other fully qualified links to your site that could indirectly provide access to external purchase mechanisms. > If you have any additional information to provide regarding the digital content and services in your app and how the guidelines apply to them, please reply to this message in Resolution Center and let us know. If there is information you'd like us to consider in our review of future submissions, please feel free to include it in the App Review Information section of App Store Connect. > > _Resources_ > > Learn more about our policies for apps that offer paid digital content and services. closes odoo/odoo#68351 Task-id: 2483253 Related: odoo/enterprise#17296 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
-rw-r--r--addons/iap/static/src/xml/iap_templates.xml2
-rw-r--r--addons/mass_mailing_sms/views/mailing_mailing_views.xml6
-rw-r--r--addons/partner_autocomplete/static/src/xml/partner_autocomplete.xml2
-rw-r--r--odoo/addons/base/views/ir_module_views.xml4
4 files changed, 7 insertions, 7 deletions
diff --git a/addons/iap/static/src/xml/iap_templates.xml b/addons/iap/static/src/xml/iap_templates.xml
index 7ea6047eabc..f35496d8705 100644
--- a/addons/iap/static/src/xml/iap_templates.xml
+++ b/addons/iap/static/src/xml/iap_templates.xml
@@ -24,7 +24,7 @@
<div t-name="iap.buy_more_credits" class="mt-2 row">
<div class="col-sm">
- <button class="btn btn-link buy_credits"><i class="fa fa-arrow-right"/> Buy credits</button>
+ <button class="btn btn-link buy_credits o-hidden-ios"><i class="fa fa-arrow-right"/> Buy credits</button>
</div>
</div>
</template>
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)]}">
diff --git a/addons/partner_autocomplete/static/src/xml/partner_autocomplete.xml b/addons/partner_autocomplete/static/src/xml/partner_autocomplete.xml
index 6f545f29595..6a1edfd843e 100644
--- a/addons/partner_autocomplete/static/src/xml/partner_autocomplete.xml
+++ b/addons/partner_autocomplete/static/src/xml/partner_autocomplete.xml
@@ -17,7 +17,7 @@
<!--
@param {string} credits_url
-->
- <div t-name="partner_autocomplete.insufficient_credit_notification" class="">
+ <div t-name="partner_autocomplete.insufficient_credit_notification" class="o-hidden-ios">
<a class="btn btn-link" t-att-href="credits_url"><i class="fa fa-arrow-right"/> Buy more credits</a>
</div>
diff --git a/odoo/addons/base/views/ir_module_views.xml b/odoo/addons/base/views/ir_module_views.xml
index 8ea043a575f..1c75a436fc8 100644
--- a/odoo/addons/base/views/ir_module_views.xml
+++ b/odoo/addons/base/views/ir_module_views.xml
@@ -179,7 +179,7 @@
</a>
<div class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<a type="edit" class="dropdown-item">Module Info</a>
- <a t-if="record.website.raw_value" role="menuitem" class="dropdown-item" t-att-href="record.website.raw_value" target="_blank">Learn More</a>
+ <a t-if="record.website.raw_value" role="menuitem" class="dropdown-item o-hidden-ios" t-att-href="record.website.raw_value" target="_blank">Learn More</a>
<a t-if="installed" name="button_immediate_upgrade" type="object" role="menuitem" class="dropdown-item">Upgrade</a>
<a t-if="installed" name="button_uninstall_wizard" type="object" role="menuitem" class="dropdown-item">Uninstall</a>
</div>
@@ -194,7 +194,7 @@
<code groups="base.group_no_one"><field name="name"/></code>
</p>
<div class="oe_module_action">
- <a t-att-href="record.website.raw_value" target="_blank" attrs="{'invisible':[('website', '=', '')]}" class="btn btn-sm btn-secondary float-right" role="button">Learn More</a>
+ <a t-att-href="record.website.raw_value" target="_blank" attrs="{'invisible':[('website', '=', '')]}" class="btn btn-sm btn-secondary float-right o-hidden-ios" role="button">Learn More</a>
<a type="edit" class="btn btn-secondary btn-sm float-right" role="button" attrs="{'invisible': [('website', '&lt;&gt;', '')]}">Module Info</a>
<button type="object" class="btn btn-primary btn-sm" name="button_immediate_install" states="uninstalled" t-if="! record.to_buy.raw_value">Install</button>
<a href="https://odoo.com/pricing?utm_source=db&amp;utm_medium=module#hosting=on_premise" class="btn btn-info btn-sm" states="uninstalled,uninstallable" t-if="record.to_buy.raw_value" role="button">Upgrade</a>