Fix permission bug for "download purchase for CORE" feature
This commit is contained in:
parent
eb1cfbd495
commit
54c0e51c03
|
@ -126,7 +126,7 @@ class PurchaseView(base.PurchaseView):
|
|||
config.add_route('{}.download_for_corepos'.format(route_prefix), '{}/download-for-corepos'.format(instance_url_prefix))
|
||||
config.add_view(cls, attr='download_for_corepos', route_name='{}.download_for_corepos'.format(route_prefix),
|
||||
permission='{}.download_for_corepos'.format(permission_prefix))
|
||||
config.add_tailbone_permission(permission_prefix, '{}.download'.format(permission_prefix),
|
||||
config.add_tailbone_permission(permission_prefix, '{}.download_for_corepos'.format(permission_prefix),
|
||||
"Download {} for import to CORE-POS".format(model_title))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue