summaryrefslogtreecommitdiff
path: root/addons/google_drive
diff options
context:
space:
mode:
authorJulien (juc) Castiaux <juc@odoo.com>2018-11-14 12:26:50 +0000
committerJulien (juc) Castiaux <juc@odoo.com>2018-11-20 10:02:45 +0000
commitf19749805860e01f2f607e081ae1457f4ddd5dab (patch)
tree83b6c0e7732439d9c8292207baf20671a90518cd /addons/google_drive
parent69c2b0a7d17077fc1b3227632ba0f2513a627bda (diff)
[FIX] google_drive: button in config not cross-browser
The "Get authorization code" button in the General Settings > Integrations > Google drive was not correctly rendered on firefox. This PR fixes that bug by correcly rendering the button, it has been tested on both Firefox and Chrome opw-1907644 closes odoo/odoo#28672
Diffstat (limited to 'addons/google_drive')
-rw-r--r--addons/google_drive/views/res_config_settings_views.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/google_drive/views/res_config_settings_views.xml b/addons/google_drive/views/res_config_settings_views.xml
index 1bbc8fb1e95..45345d459ec 100644
--- a/addons/google_drive/views/res_config_settings_views.xml
+++ b/addons/google_drive/views/res_config_settings_views.xml
@@ -13,9 +13,9 @@
<field name="google_drive_authorization_code"/>
</div>
<div>
- <button type="button" class="btn-link o_btn-link-as-button fa-arrow-right">
+ <a role="button" class="btn-link o_btn-link-as-button fa-arrow-right">
<field name="google_drive_uri" widget="url" text="Get Authorization Code"/>
- </button>
+ </a>
</div>
<div>
<button type="action" name="%(action_google_drive_users_config)d" string="Google Drive Templates" icon="fa-arrow-right" class="btn-link"/>