Fix view context document resolution for the document smart link list view. Fixes GitLab issue #266. Thanks to Baptiste GAILLET @bat79a for the find.
This commit is contained in:
@@ -54,7 +54,7 @@ class LinkingApp(MayanAppConfig):
|
||||
SourceColumn(
|
||||
source=ResolvedSmartLink, label=_('Label'),
|
||||
func=lambda context: context['object'].get_dynamic_label(
|
||||
context['resolved_object']
|
||||
context['document']
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user