Add permission for testing error handling at POS
This commit is contained in:
parent
507a9ffc71
commit
d66dd5f199
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue