Fix label display for resolved smart links when not using a dynamic label.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -54,8 +54,8 @@ class LinkingApp(MayanAppConfig):
|
||||
|
||||
SourceColumn(
|
||||
source=ResolvedSmartLink, label=_('Label'),
|
||||
func=lambda context: context['object'].get_dynamic_label(
|
||||
context['document']
|
||||
func=lambda context: context['object'].get_label_for(
|
||||
document=context['document']
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user