Fix bug in products view class
Need to invoke the core View init logic, for `self.enum`
This commit is contained in:
parent
62740e8a59
commit
dc00239b5f
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue