From dc00239b5f35bf191b096743afaa0e911f75118d Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 30 Nov 2016 14:08:12 -0600 Subject: [PATCH] Fix bug in products view class Need to invoke the core View init logic, for `self.enum` --- tailbone/views/products.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/products.py b/tailbone/views/products.py index a112f9ed..14a762b1 100644 --- a/tailbone/views/products.py +++ b/tailbone/views/products.py @@ -105,7 +105,7 @@ class ProductsView(MasterView): VendorAny = orm.aliased(model.Vendor) def __init__(self, request): - self.request = request + super(ProductsView, self).__init__(request) self.print_labels = request.rattail_config.getbool('tailbone', 'products.print_labels', default=False) def query(self, session):