From 792f32ef4068a5c4265e1b6dfadb5683cfe2ed73 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 15 Feb 2024 17:43:11 +0100 Subject: ✨ sheets: manage specific sheets for specific modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/utils.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/utils.py') diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py index 0a6926d9d..4043e48cf 100644 --- a/ishtar_common/utils.py +++ b/ishtar_common/utils.py @@ -278,6 +278,7 @@ def check_model_access_control(request, model, available_perms=None): class SheetItem: SHOW_URL = "" + SHEET_ALTERNATIVES = [] # list tuple: (key checked in profile, sheet name) def get_show_url(self): show_url = self.SHOW_URL if not show_url: -- cgit v1.2.3