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.
 
 
 
 
 

21 lines
957 B

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--This is used to add the secret field in the oauth provider-->
<record id="view_oauth_provider_form" model="ir.ui.view">
<field name="name">
auth.oauth.provider.view.form.inherit.microsoft.azure.sso.integration
</field>
<field name="model">auth.oauth.provider</field>
<field name="inherit_id" ref="auth_oauth.view_oauth_provider_form"/>
<field name="arch" type="xml">
<field name="client_id" position="after">
<field name="client_secret_id" password="True"
attrs="{'invisible': [('response_type', '!=', 'code')],
'required': [('response_type', '=', 'code')]}"/>
</field>
<field name="validation_endpoint" position="after">
<field name="response_type"/>
</field>
</field>
</record>
</odoo>