You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.2 KiB
27 lines
1.2 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<odoo>
|
|
<record id="view_authcode_wizard_views_form" model="ir.ui.view">
|
|
<field name="name">authentication.wizard.form</field>
|
|
<field name="model">authentication.wizard</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<group invisible="not context.get('dropbox_auth')">
|
|
<span>Get an authorization code and set it in the field below.</span>
|
|
<field name="dropbox_auth_url"
|
|
class="fa fa-arrow-right"
|
|
widget="url"
|
|
text="Get Authorization Code"
|
|
nolabel="1"/>
|
|
</group>
|
|
<group>
|
|
<field name="dropbox_authorization_code" required="context.get('dropbox_auth')" invisible="not context.get('dropbox_auth')"/>
|
|
</group>
|
|
<footer>
|
|
<button string="Confirm" type="object" name="action_setup_dropbox_token" class="btn-primary" invisible="not context.get('dropbox_auth')"/>
|
|
<button string="Cancel" class="btn-secondary" special="cancel"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</odoo>
|