From a475db3fd52ddf5468415b1ac556e02eb388c6a0 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 31 Jan 2022 19:37:33 -0600 Subject: [PATCH] Remove unwanted product label printing config --- rattail_demo/web/views/products.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rattail_demo/web/views/products.py b/rattail_demo/web/views/products.py index a248789..1ce0628 100644 --- a/rattail_demo/web/views/products.py +++ b/rattail_demo/web/views/products.py @@ -59,10 +59,5 @@ class ProductView(corepos_base.ProductView, woocommerce_base.ProductView): def includeme(config): - - config.add_route('products.print_labels', '/products/labels') - config.add_view(base.print_labels, route_name='products.print_labels', - renderer='json', permission='products.print_labels') - ProductView.defaults(config) base.PendingProductView.defaults(config)