Don't use attribute name if there is no help text
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -754,7 +754,7 @@ class SourceColumn(object):
|
||||
name=name, model=model
|
||||
)
|
||||
except AttributeError:
|
||||
self._help_text = self.attribute
|
||||
self._help_text = None
|
||||
|
||||
self.help_text = self._help_text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user