forked from OCA/server-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee54eb3
commit 7e3dce6
Showing
1 changed file
with
12 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,46 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2019 ACSONE SA/NV | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
|
||
<odoo> | ||
|
||
<record model="ir.ui.view" id="auth_api_key_form_view"> | ||
<field name="name">auth.api.key.form (in auth_api_key)</field> | ||
<field name="model">auth.api.key</field> | ||
<field name="arch" type="xml"> | ||
<form create="false" edit="false"> | ||
<sheet> | ||
<label for="name" class="oe_edit_only"/> | ||
<label for="name" class="oe_edit_only" /> | ||
<h1> | ||
<field name="name" class="oe_inline"/> | ||
<field name="name" class="oe_inline" /> | ||
</h1> | ||
<group name="config" colspan="4" col="4"> | ||
<field name="user_id" colspan="4"/> | ||
<field name="key" colspan="4"/> | ||
</group> | ||
<group name="config" colspan="4" col="4"> | ||
<field name="user_id" colspan="4" /> | ||
<field name="key" colspan="4" /> | ||
</group> | ||
</sheet> | ||
</form> | ||
</field> | ||
</record> | ||
|
||
|
||
<record model="ir.ui.view" id="auth_api_key_tree_view"> | ||
<field name="name">auth.api.key.tree (in auth_api_key)</field> | ||
<field name="model">auth.api.key</field> | ||
<field name="arch" type="xml"> | ||
<tree> | ||
<field name="name"/> | ||
<field name="user_id"/> | ||
<field name="name" /> | ||
<field name="user_id" /> | ||
</tree> | ||
</field> | ||
</record> | ||
|
||
<record model="ir.actions.act_window" id="auth_api_key_act_window"> | ||
<field name="name">Auth Api Key</field> | ||
<field name="res_model">auth.api.key</field> | ||
<field name="view_mode">tree,form</field> | ||
<field name="domain">[]</field> | ||
<field name="context">{}</field> | ||
</record> | ||
|
||
<record model="ir.ui.menu" id="auth_api_key_menu"> | ||
<field name="name">Auth Api Key</field> | ||
<field name="parent_id" ref="base.menu_custom"/> | ||
<field name="action" ref="auth_api_key_act_window"/> | ||
<field name="sequence" eval="100"/> | ||
<field name="parent_id" ref="base.menu_custom" /> | ||
<field name="action" ref="auth_api_key_act_window" /> | ||
<field name="sequence" eval="100" /> | ||
</record> | ||
|
||
</odoo> |