[IMP] pos_restaurant: security access rules for the new models
This commit is contained in:
committed by
Frédéric van der Essen
parent
b55860d1c0
commit
e3b1239907
@@ -42,6 +42,7 @@ This module unlocks several advanced barcode features for the point of sale:
|
||||
'website': 'https://www.odoo.com/page/point-of-sale',
|
||||
'data': [
|
||||
'barcodes_view.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'views/templates.xml',
|
||||
],
|
||||
'installable': True,
|
||||
|
||||
@@ -39,6 +39,7 @@ and get rewards.
|
||||
'depends': ['point_of_sale'],
|
||||
'data': [
|
||||
'views/views.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'views/templates.xml'
|
||||
],
|
||||
'qweb': ['static/src/xml/loyalty.xml'],
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_restaurant_printer,restaurant.printer.user,model_restaurant_printer,point_of_sale.group_pos_user,1,0,0,0
|
||||
access_restaurant_printer_manager,restaurant.printer.manager,model_restaurant_printer,point_of_sale.group_pos_manager,1,0,0,0
|
||||
access_restaurant_printer_manager,restaurant.printer.manager,model_restaurant_printer,point_of_sale.group_pos_manager,1,1,1,1
|
||||
access_restaurant_floor,restaurant.floor.user,model_restaurant_floor,point_of_sale.group_pos_user,1,0,0,0
|
||||
access_restaurant_floor_manager,restaurant.floor.manager,model_restaurant_floor,point_of_sale.group_pos_manager,1,1,1,1
|
||||
access_restaurant_table,restaurant.table.user,model_restaurant_table,point_of_sale.group_pos_user,1,0,0,0
|
||||
access_restaurant_table_manager,restaurant.table.manager,model_restaurant_table,point_of_sale.group_pos_manager,1,1,1,1
|
||||
|
||||
|
Reference in New Issue
Block a user