|
|
|
@ -38,6 +38,16 @@ def change_in_order_status(request, order, old):
@@ -38,6 +38,16 @@ def change_in_order_status(request, order, old):
|
|
|
|
|
request.registry.notify(event) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@view_config( |
|
|
|
|
context='ordr2:resources.OrderList', |
|
|
|
|
name='view', |
|
|
|
|
permission='view' |
|
|
|
|
) |
|
|
|
|
def old_list_redirect(context, request): |
|
|
|
|
''' redirect the old /orders/view/ path to /orders/ ''' |
|
|
|
|
return HTTPFound(context.url()) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# oder list |
|
|
|
|
|
|
|
|
|
@view_config( |
|
|
|
|