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.
39 lines
1.7 KiB
39 lines
1.7 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!-- Authorization Wizard View -->
|
|
<odoo>
|
|
<record id="authentication_wizard_view_form" model="ir.ui.view">
|
|
<field name="name">authentication.code.view.form</field>
|
|
<field name="model">authentication.code</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<!-- Group for obtaining authorization code -->
|
|
<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 for entering authorization code -->
|
|
<group>
|
|
<field name="dropbox_authorization_code"
|
|
required="context.get('dropbox_auth')"
|
|
invisible="not context.get('dropbox_auth')"/>
|
|
</group>
|
|
<footer>
|
|
<!-- Confirm button for setting up Dropbox token -->
|
|
<button string="Confirm" type="object"
|
|
name="action_setup_dropbox_token"
|
|
class="btn-primary"
|
|
invisible="not context.get('dropbox_auth')"/>
|
|
<!-- Cancel button -->
|
|
<button string="Cancel" class="btn-secondary"
|
|
special="cancel"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|