Skip to content

Commit

Permalink
FIX pos_user_restriction allowing "User: Assigned POS Only" to see po…
Browse files Browse the repository at this point in the history
…int of sale menu
  • Loading branch information
eLBati committed Jul 31, 2020
1 parent 437fc41 commit 00f6144
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions pos_user_restriction/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
"security/pos_security.xml",
"views/pos_config_views.xml",
"security/ir.model.access.csv",
"views/point_of_sale_views.xml",
],
}
6 changes: 6 additions & 0 deletions pos_user_restriction/views/point_of_sale_views.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="point_of_sale.menu_point_root" model="ir.ui.menu">
<field eval="[(4,ref('group_assigned_points_of_sale_user'))]" name="groups_id"/>
</record>
</odoo>

0 comments on commit 00f6144

Please sign in to comment.