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.
35 lines
1.5 KiB
35 lines
1.5 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!--Authorization Wizard View-->
|
|
<odoo>
|
|
<record id="auth_code_wizard_view_form" model="ir.ui.view">
|
|
<field name="name">authentication.wizard.form.dropbox.integration</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>
|
|
|