Skip to content

Commit

Permalink
[IMP] base_rest: show first-level menu to admins only
Browse files Browse the repository at this point in the history
  • Loading branch information
aleuffre committed Mar 26, 2024
1 parent dfc9321 commit 738bd02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_rest/views/base_rest_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- Copyright 2018 ACSONE SA/NV
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>

<record id="menu_rest_api_root" model="ir.ui.menu">
<field name="name">REST API</field>
<field name="sequence" eval="400" />
<field name="web_icon">base_rest,static/description/icon.png</field>
<field name="groups_id" eval="[(4, ref('base.group_system'))]" />
</record>

<record id="action_rest_api_docs" model="ir.actions.act_url">
Expand Down

0 comments on commit 738bd02

Please sign in to comment.