Expose more permissions for POS

This commit is contained in:
Lance Edgar 2023-10-12 11:57:18 -05:00
parent 115e95b9a8
commit 7525aaaa87

View file

@ -274,6 +274,10 @@ class POSBatchView(BatchMasterView):
"Force error to test error handling") "Force error to test error handling")
config.add_tailbone_permission('pos', 'pos.ring_sales', config.add_tailbone_permission('pos', 'pos.ring_sales',
"Make transactions (ring up sales)") "Make transactions (ring up sales)")
config.add_tailbone_permission('pos', 'pos.override_price',
"Override price for any item")
config.add_tailbone_permission('pos', 'pos.del_customer',
"Remove customer from current transaction")
# config.add_tailbone_permission('pos', 'pos.resume', # config.add_tailbone_permission('pos', 'pos.resume',
# "Resume previously-suspended transaction") # "Resume previously-suspended transaction")
config.add_tailbone_permission('pos', 'pos.suspend', config.add_tailbone_permission('pos', 'pos.suspend',