|
@ -24,8 +24,7 @@ |
|
|
<field name="create_date" invisible="1" /> |
|
|
<field name="create_date" invisible="1" /> |
|
|
<field name="client_id" |
|
|
<field name="client_id" |
|
|
attrs="{'invisible':[('create_date', '==', False)]}" /> |
|
|
attrs="{'invisible':[('create_date', '==', False)]}" /> |
|
|
<label for="secret" class="oe_read_only" string="Client Secret" /> |
|
|
|
|
|
<button class="oe_read_only" string="Show" type="action" name="%(client_action_secret)d" /> |
|
|
|
|
|
|
|
|
<field name="secret" class="oe_read_only" string="Client Secret" /> |
|
|
<field name="auth_redirect_uri" /> |
|
|
<field name="auth_redirect_uri" /> |
|
|
<field name="allow_password_grant" /> |
|
|
<field name="allow_password_grant" /> |
|
|
</group> |
|
|
</group> |
|
@ -33,18 +32,6 @@ |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
<record id="client_view_form_secret" model="ir.ui.view"> |
|
|
|
|
|
<field name="inherit_id" ref="galicea_openid_connect.client_view_form" /> |
|
|
|
|
|
<field name="priority">99</field> |
|
|
|
|
|
<field name="model">galicea_openid_connect.client</field> |
|
|
|
|
|
<field name="mode">primary</field> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<button name="%(client_action_secret)d" position="replace"> |
|
|
|
|
|
<field class="oe_read_only" name="secret" nolabel="1" /> |
|
|
|
|
|
</button> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<record id="client_view_tree" model="ir.ui.view"> |
|
|
<record id="client_view_tree" model="ir.ui.view"> |
|
|
<field name="model">galicea_openid_connect.client</field> |
|
|
<field name="model">galicea_openid_connect.client</field> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|