Add permission for testing error handling at POS

This commit is contained in:
Lance Edgar 2023-10-11 19:55:43 -05:00
parent 507a9ffc71
commit d66dd5f199

View file

@ -251,6 +251,8 @@ class POSBatchView(BatchMasterView):
config.add_tailbone_permission_group('pos', "POS", overwrite=False) config.add_tailbone_permission_group('pos', "POS", overwrite=False)
config.add_tailbone_permission('pos', 'pos.test_error',
"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.resume', # config.add_tailbone_permission('pos', 'pos.resume',