Invert Action Object and Target columns

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-06-03 20:31:51 -04:00
parent 0440e1a838
commit 0b044f1e21
2 changed files with 4 additions and 2 deletions

View File

@@ -273,6 +273,8 @@
files. files.
* Place deletion policies units before periods for clarity. * Place deletion policies units before periods for clarity.
* Remove repeated EMAIL_TIMEOUT setting. * Remove repeated EMAIL_TIMEOUT setting.
* Invert order to the Action Object and Target columns for
clarity.
3.1.11 (2019-04-XX) 3.1.11 (2019-04-XX)
=================== ===================

View File

@@ -48,11 +48,11 @@ class EventsApp(MayanAppConfig):
func=widget_event_type_link, label=_('Event'), source=Action func=widget_event_type_link, label=_('Event'), source=Action
) )
SourceColumn( SourceColumn(
attribute='action_object', label=_('Action object'), source=Action, attribute='target', label=_('Target'), source=Action,
widget=ObjectLinkWidget widget=ObjectLinkWidget
) )
SourceColumn( SourceColumn(
attribute='target', label=_('Target'), source=Action, attribute='action_object', label=_('Action object'), source=Action,
widget=ObjectLinkWidget widget=ObjectLinkWidget
) )