Add menu links for "new customer order(s)"

This commit is contained in:
Lance Edgar 2020-08-02 15:27:27 -05:00
parent 65cc53c900
commit bc4ba5a2f4

View file

@ -38,18 +38,24 @@ def simple_menus(request):
'title': "Orders",
'type': 'menu',
'items': [
# {
# 'title': "New Order",
# 'url': url('custorders.new'),
# 'perm': 'custorders.create',
# },
{
'title': "All Orders",
'url': url('custorders'),
'perm': 'custorders.list',
},
{
'title': "All Items",
'title': "New Customer Order",
'url': url('custorders.create'),
'perm': 'custorders.create',
},
{
'title': "All New Orders",
'url': url('new_custorders'),
'perm': 'new_custorders.list',
},
{'type': 'sep'},
{
'title': "All Customer Orders",
'url': url('custorders'),
'perm': 'custorders.list',
},
{
'title': "All Order Items",
'url': url('custorders.items'),
'perm': 'custorders.items.list',
},
@ -58,7 +64,7 @@ def simple_menus(request):
# 'url': url('custorders.config'),
# 'perm': 'custorders.configure',
# },
],
],
}
people_menu = {