Tweak menu config, handheld views per upstream changes

This commit is contained in:
Lance Edgar 2022-08-21 11:35:03 -05:00
parent a475db3fd5
commit a6871fac95
2 changed files with 45 additions and 45 deletions

View file

@ -16,22 +16,22 @@ def simple_menus(request):
'items': [
{
'title': "Members",
'url': url('members'),
'route': 'members',
'perm': 'members.list',
},
{
'title': "Customers",
'url': url('customers'),
'route': 'customers',
'perm': 'customers.list',
},
{
'title': "Employees",
'url': url('employees'),
'route': 'employees',
'perm': 'employees.list',
},
{
'title': "All People",
'url': url('people'),
'route': 'people',
'perm': 'people.list',
},
],
@ -43,37 +43,37 @@ def simple_menus(request):
'items': [
{
'title': "Products",
'url': url('products'),
'route': 'products',
'perm': 'products.list',
},
{
'title': "Departments",
'url': url('departments'),
'route': 'departments',
'perm': 'departments.list',
},
{
'title': "Subdepartments",
'url': url('subdepartments'),
'route': 'subdepartments',
'perm': 'subdepartments.list',
},
{
'title': "Brands",
'url': url('brands'),
'route': 'brands',
'perm': 'brands.list',
},
{
'title': "Families",
'url': url('families'),
'route': 'families',
'perm': 'families.list',
},
{
'title': "Report Codes",
'url': url('reportcodes'),
'route': 'reportcodes',
'perm': 'reportcodes.list',
},
{
'title': "Units of Measure",
'url': url('uoms'),
'route': 'uoms',
'perm': 'uoms.list',
},
],
@ -85,29 +85,29 @@ def simple_menus(request):
'items': [
{
'title': "Vendors",
'url': url('vendors'),
'route': 'vendors',
'perm': 'vendors.list',
},
{'type': 'sep'},
{
'title': "Ordering",
'url': url('ordering'),
'route': 'ordering',
'perm': 'ordering.list',
},
{
'title': "Receiving",
'url': url('receiving'),
'route': 'receiving',
'perm': 'receiving.list',
},
{'type': 'sep'},
{
'title': "Purchases",
'url': url('purchases'),
'route': 'purchases',
'perm': 'purchases.list',
},
{
'title': "Credits",
'url': url('purchases.credits'),
'route': 'purchases.credits',
'perm': 'purchases.credits.list',
},
],
@ -121,18 +121,18 @@ def simple_menus(request):
'items': [
{
'title': "Products",
'url': url('shopfoo.products'),
'route': 'shopfoo.products',
'perm': 'shopfoo.products.list',
},
{
'title': "Product Exports",
'url': url('shopfoo.product_exports'),
'route': 'shopfoo.product_exports',
'perm': 'shopfoo.product_exports.list',
},
{'type': 'sep'},
{
'title': "WooCommerce Products",
'url': url('woocommerce.products'),
'route': 'woocommerce.products',
'perm': 'woocommerce.products.list',
},
],
@ -144,17 +144,17 @@ def simple_menus(request):
'items': [
{
'title': "New Report",
'url': url('report_output.create'),
'route': 'report_output.create',
'perm': 'report_output.create',
},
{
'title': "Generated Reports",
'url': url('report_output'),
'route': 'report_output',
'perm': 'report_output.list',
},
{
'title': "Problem Reports",
'url': url('problem_reports'),
'route': 'problem_reports',
'perm': 'problem_reports.list',
},
],
@ -166,17 +166,17 @@ def simple_menus(request):
'items': [
{
'title': "Handheld",
'url': url('batch.handheld'),
'route': 'batch.handheld',
'perm': 'batch.handheld.list',
},
{
'title': "Inventory",
'url': url('batch.inventory'),
'route': 'batch.inventory',
'perm': 'batch.inventory.list',
},
{
'title': "Import / Export",
'url': url('batch.importer'),
'route': 'batch.importer',
'perm': 'batch.importer.list',
},
],
@ -188,7 +188,7 @@ def simple_menus(request):
'items': [
{
'title': "Transactions",
'url': url('trainwreck.transactions'),
'route': 'trainwreck.transactions',
'perm': 'trainwreck.transactions.list',
},
],
@ -200,22 +200,22 @@ def simple_menus(request):
'items': [
{
'title': "Appliances",
'url': url('tempmon.appliances'),
'route': 'tempmon.appliances',
'perm': 'tempmon.appliances.list',
},
{
'title': "Clients",
'url': url('tempmon.clients'),
'route': 'tempmon.clients',
'perm': 'tempmon.clients.list',
},
{
'title': "Probes",
'url': url('tempmon.probes'),
'route': 'tempmon.probes',
'perm': 'tempmon.probes.list',
},
{
'title': "Readings",
'url': url('tempmon.readings'),
'route': 'tempmon.readings',
'perm': 'tempmon.readings.list',
},
],
@ -243,7 +243,7 @@ def simple_menus(request):
{'type': 'sep'},
{
'title': "Generate New Project",
'url': url('generate_project'),
'route': 'generate_project',
'perm': 'common.generate_project',
},
],
@ -255,59 +255,59 @@ def simple_menus(request):
'items': [
{
'title': "Stores",
'url': url('stores'),
'route': 'stores',
'perm': 'stores.list',
},
{
'title': "Users",
'url': url('users'),
'route': 'users',
'perm': 'users.list',
},
{
'title': "User Events",
'url': url('userevents'),
'route': 'userevents',
'perm': 'userevents.list',
},
{
'title': "Roles",
'url': url('roles'),
'route': 'roles',
'perm': 'roles.list',
},
{'type': 'sep'},
{
'title': "App Settings",
'url': url('appsettings'),
'route': 'appsettings',
'perm': 'settings.list',
},
{
'title': "Email Settings",
'url': url('emailprofiles'),
'route': 'emailprofiles',
'perm': 'emailprofiles.list',
},
{
'title': "Email Attempts",
'url': url('email_attempts'),
'route': 'email_attempts',
'perm': 'email_attempts.list',
},
{
'title': "Raw Settings",
'url': url('settings'),
'route': 'settings',
'perm': 'settings.list',
},
{'type': 'sep'},
{
'title': "DataSync Changes",
'url': url('datasyncchanges'),
'perm': 'datasync.list',
'route': 'datasyncchanges',
'perm': 'datasync_changes.list',
},
{
'title': "Tables",
'url': url('tables'),
'route': 'tables',
'perm': 'tables.list',
},
{
'title': "Rattail Demo Upgrades",
'url': url('upgrades'),
'title': "Upgrades",
'route': 'upgrades',
'perm': 'upgrades.list',
},
],

View file

@ -51,7 +51,7 @@ def includeme(config):
config.include('tailbone_woocommerce.views.woocommerce')
# batch views
config.include('tailbone.views.handheld')
config.include('tailbone.views.batch.handheld')
config.include('tailbone.views.batch.inventory')
config.include('tailbone.views.batch.importer')