Browse Source

Fix for galicea_openid_connect

v12_initial_fix
Maciej Wawro 6 years ago
parent
commit
507b83250b
  1. 28
      galicea_openid_connect/views/views.xml

28
galicea_openid_connect/views/views.xml

@ -1,5 +1,19 @@
<odoo> <odoo>
<data> <data>
<record model="ir.actions.server" id="client_action_secret">
<field name="name">Show Client Secret</field>
<field name="model_id" ref="model_galicea_openid_connect_client"/>
<field name="code">
action = {
"type": "ir.actions.act_window",
"view_mode": "form",
"view_id": obj.env.ref('galicea_openid_connect.client_view_form_secret').id,
"res_model": "galicea_openid_connect.client",
"res_id": obj.id
}
</field>
</record>
<record id="client_view_form" model="ir.ui.view"> <record id="client_view_form" model="ir.ui.view">
<field name="model">galicea_openid_connect.client</field> <field name="model">galicea_openid_connect.client</field>
<field name="priority">10</field> <field name="priority">10</field>
@ -18,20 +32,6 @@
</field> </field>
</record> </record>
<record model="ir.actions.server" id="client_action_secret">
<field name="name">Show Client Secret</field>
<field name="model_id" ref="model_galicea_openid_connect_client"/>
<field name="code">
action = {
"type": "ir.actions.act_window",
"view_mode": "form",
"view_id": obj.env.ref('galicea_openid_connect.client_view_form_secret').id,
"res_model": "galicea_openid_connect.client",
"res_id": obj.id
}
</field>
</record>
<record id="client_view_form_secret" model="ir.ui.view"> <record id="client_view_form_secret" model="ir.ui.view">
<field name="inherit_id" ref="galicea_openid_connect.client_view_form" /> <field name="inherit_id" ref="galicea_openid_connect.client_view_form" />
<field name="priority">99</field> <field name="priority">99</field>

Loading…
Cancel
Save