Browse Source

FIX pos_user_restriction allowing "User: Assigned POS Only" to see point of sale menu

pull/520/head
eLBati 4 years ago
parent
commit
00f6144966
  1. 1
      pos_user_restriction/__manifest__.py
  2. 6
      pos_user_restriction/views/point_of_sale_views.xml

1
pos_user_restriction/__manifest__.py

@ -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
pos_user_restriction/views/point_of_sale_views.xml

@ -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>
Loading…
Cancel
Save