Fix menu for datasync

This commit is contained in:
Lance Edgar 2022-08-21 15:23:30 -05:00
parent c391ce042b
commit f899a86666
2 changed files with 8 additions and 7 deletions

View file

@ -32,6 +32,7 @@ from rattail.settings import (
rattail_app_title, rattail_app_title,
rattail_single_store, rattail_single_store,
tailbone_background_color, tailbone_background_color,
tailbone_grid_default_pagesize,
# # DataSync # # DataSync
# rattail_datasync_url, # rattail_datasync_url,

View file

@ -2,7 +2,7 @@
################################################################################ ################################################################################
# #
# Rattail -- Retail Software Framework # Rattail -- Retail Software Framework
# Copyright © 2010-2021 Lance Edgar # Copyright © 2010-2022 Lance Edgar
# #
# This file is part of Rattail. # This file is part of Rattail.
# #
@ -284,14 +284,14 @@ def simple_menus(request):
}, },
{'type': 'sep'}, {'type': 'sep'},
{ {
'title': "DataSync Threads", 'title': "DataSync Changes",
'url': url('datasync'), 'route': 'datasyncchanges',
'perm': 'datasync.list', 'perm': 'datasync_changes.list',
}, },
{ {
'title': "DataSync Changes", 'title': "DataSync Status",
'url': url('datasyncchanges'), 'route': 'datasync.status',
'perm': 'datasync_changes.list', 'perm': 'datasync.status',
}, },
{ {
'title': "Importing / Exporting", 'title': "Importing / Exporting",