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.
 
 
 

28 lines
1.1 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="user_oauth_multi_token_form" model="ir.ui.view">
<field name="name">auth_oauth_multi_token user form</field>
<field name="model">res.users</field>
<field name="type">form</field>
<field name="inherit_id" ref="auth_oauth.view_users_form"/>
<field name="arch" type="xml">
<field name="oauth_uid" position="after">
<field name="oauth_access_max_token" />
</field>
<xpath expr="//field[@name='oauth_provider_id']/.." position="after">
<group name="multi_token_info" string="Latest tokens">
<field name="oauth_access_token_ids" nolabel="1" options="{'no_create': True, 'no_open': True}">
<tree limit="10">
<field name="create_date"/>
<field name="oauth_access_token"/>
<field name="active_token"/>
</tree>
</field>
<button string="Clear Tokens" type="object" name="action_oauth_clear_token" class="oe_highlight"/>
</group>
</xpath>
</field>
</record>
</odoo>