[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
This commit is contained in:
Julien (juc) Castiaux
2018-11-20 10:02:45 +00:00
parent 69c2b0a7d1
commit f197498058
@@ -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"/>