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.
87 lines
3.8 KiB
87 lines
3.8 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2016 SYLEAM
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
-->
|
|
<odoo>
|
|
<record id="view_oauth_provider_scope_tree" model="ir.ui.view">
|
|
<field name="name">oauth.provider.scope.tree</field>
|
|
<field name="model">oauth.provider.scope</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="OAuth Provider Scopes">
|
|
<field name="name"/>
|
|
<field name="code"/>
|
|
<field name="description"/>
|
|
<field name="model_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
<record id="view_oauth_provider_scope_form" model="ir.ui.view">
|
|
<field name="name">oauth.provider.scope.form</field>
|
|
<field name="model">oauth.provider.scope</field>
|
|
<field name="arch" type="xml">
|
|
<form string="OAuth Provider Scopes">
|
|
<sheet>
|
|
<h1>
|
|
<field name="name"/>
|
|
</h1>
|
|
<group>
|
|
<group>
|
|
<field name="code"/>
|
|
<field name="description"/>
|
|
<separator string="Filter settings" colspan="2"/>
|
|
<field name="model_id"/>
|
|
<field name="filter_id"/>
|
|
<field name="model" invisible="1"/>
|
|
</group>
|
|
<group>
|
|
<separator string="Fields" colspan="2"/>
|
|
<field name="field_ids" nolabel="1">
|
|
<tree string="Fields">
|
|
<field name="name"/>
|
|
<field name="field_description"/>
|
|
<field name="ttype"/>
|
|
</tree>
|
|
</field>
|
|
</group>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<record id="view_oauth_provider_scope_search" model="ir.ui.view">
|
|
<field name="name">oauth.provider.scope.search</field>
|
|
<field name="model">oauth.provider.scope</field>
|
|
<field name="arch" type="xml">
|
|
<search string="OAuth Provider Scopes">
|
|
<field name="name"/>
|
|
<field name="code"/>
|
|
<field name="description"/>
|
|
<field name="model_id"/>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
<record model="ir.actions.act_window" id="act_open_oauth_provider_scope_view">
|
|
<field name="name">OAuth Provider Scopes</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">oauth.provider.scope</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="search_view_id" ref="view_oauth_provider_scope_search"/>
|
|
<field name="domain">[]</field>
|
|
<field name="context">{}</field>
|
|
</record>
|
|
<record model="ir.actions.act_window.view" id="act_open_oauth_provider_scope_view_form">
|
|
<field name="act_window_id" ref="act_open_oauth_provider_scope_view"/>
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view_mode">form</field>
|
|
<field name="view_id" ref="view_oauth_provider_scope_form"/>
|
|
</record>
|
|
<record model="ir.actions.act_window.view" id="act_open_oauth_provider_scope_view_tree">
|
|
<field name="act_window_id" ref="act_open_oauth_provider_scope_view"/>
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view_mode">tree</field>
|
|
<field name="view_id" ref="view_oauth_provider_scope_tree"/>
|
|
</record>
|
|
<menuitem id="menu_oauth_provider_scope" parent="base.menu_users" sequence="40" action="act_open_oauth_provider_scope_view"/>
|
|
</odoo>
|