diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-11-24 17:37:21 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:21 +0100 |
commit | 2597642e86b26d127d740142ba4580247564be7c (patch) | |
tree | 319455e933c1270aba23df9b9c6eaa7155bdc4c8 /ishtar_common/widgets.py | |
parent | 4670b412f55b70f35971e2bc407a9b5f75c3395a (diff) | |
download | Ishtar-2597642e86b26d127d740142ba4580247564be7c.tar.bz2 Ishtar-2597642e86b26d127d740142ba4580247564be7c.zip |
Document: display complete identifier on sheet and tables
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r-- | ishtar_common/widgets.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index 0136d7257..93352ccf3 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -1081,6 +1081,8 @@ class DataTable(Select2Media, forms.RadioSelect): table_cols = settings.TABLE_COLS[tb_key] else: table_cols = getattr(self.associated_model, self.table_cols) + if callable(table_cols): + table_cols = table_cols() for col_names in table_cols: field_verbose_names = [] |