diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index c82837483..66de551da 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -4015,7 +4015,7 @@ organization_type_pk_lazy = lazy(OrganizationType.get_or_create_pk, str)  organization_type_pks_lazy = lazy(OrganizationType.get_or_create_pks, str) -class Organization(Address, Merge, OwnPerms, ValueGetter): +class Organization(Address, Merge, OwnPerms, ValueGetter, MainItem):      TABLE_COLS = ('name', 'organization_type', 'town')      SLUG = "organization"      SHOW_URL = 'show-organization' @@ -4037,6 +4037,13 @@ class Organization(Address, Merge, OwnPerms, ValueGetter):              'organization_type__label__iexact'          ),      } +    QA_EDIT = QuickAction( +        url="organization-qa-bulk-update", icon_class="fa fa-pencil", +        text=_(u"Bulk update"), target="many", +        rights=['change_organization']) +    QUICK_ACTIONS = [ +        QA_EDIT +    ]      objects = UUIDModelManager()  | 
