diff --git a/tailbone/views/products.py b/tailbone/views/products.py index c9c69902..ef6bf258 100644 --- a/tailbone/views/products.py +++ b/tailbone/views/products.py @@ -291,6 +291,8 @@ class ProductCrud(CrudView): if not self.readonly: del fs.regular_price del fs.current_price + if not self.request.has_perm('products.view_deleted'): + del fs.deleted return fs def pre_crud(self, product):