Prevent listing for top-level Messages view

user must access inbox, archive etc. directly instead
This commit is contained in:
Lance Edgar 2023-01-13 20:28:00 -06:00
parent f18f24962e
commit d8bd4bd847

View file

@ -2,7 +2,7 @@
################################################################################ ################################################################################
# #
# Rattail -- Retail Software Framework # Rattail -- Retail Software Framework
# Copyright © 2010-2022 Lance Edgar # Copyright © 2010-2023 Lance Edgar
# #
# This file is part of Rattail. # This file is part of Rattail.
# #
@ -52,6 +52,7 @@ class MessageView(MasterView):
checkboxes = True checkboxes = True
replying = False replying = False
reply_header_sent_format = '%a %d %b %Y at %I:%M %p' reply_header_sent_format = '%a %d %b %Y at %I:%M %p'
listable = False
grid_columns = [ grid_columns = [
'subject', 'subject',