diff options
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index d95986c70..2e618749b 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3625,7 +3625,7 @@ class PersonManager(models.Manager): return self.get(**q) -class Person(Address, Merge, OwnPerms, ValueGetter): +class Person(Address, Merge, OwnPerms, ValueGetter, MainItem): SLUG = "person" _prefix = 'person_' TYPE = ( @@ -3686,6 +3686,14 @@ class Person(Address, Merge, OwnPerms, ValueGetter): 'ishtaruser__isnull' ), } + QA_EDIT = QuickAction( + url="person-qa-bulk-update", icon_class="fa fa-pencil", + text=_(u"Bulk update"), target="many", + rights=['change_person']) + QUICK_ACTIONS = [ + QA_EDIT + ] + objects = PersonManager() |