diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-18 16:37:25 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-18 16:37:25 +0100 |
commit | 06a4b0d7bcf2026a53867cf0822e60983a8b4522 (patch) | |
tree | e211d46cdebc166bc723874cd722a0c1341385d9 | |
parent | cdbb28c80c5879bfad7179c959ec31062e801d11 (diff) | |
download | Ishtar-06a4b0d7bcf2026a53867cf0822e60983a8b4522.tar.bz2 Ishtar-06a4b0d7bcf2026a53867cf0822e60983a8b4522.zip |
Shortcut: add document for operation
-rw-r--r-- | archaeological_operations/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index de40657ab..adcadccd7 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1069,9 +1069,9 @@ class Operation(ClosedItem, BaseHistorizedItem, OwnPerms, ValueGetter, For sheet template """ # url, base_text, icon, extra_text, extra css class, is a quick action + actions = super(Operation, self).get_extra_actions(request) can_add_cr = self.can_do(request, 'add_contextrecord') - actions = [] if can_add_cr: actions += [ (reverse('operation-qa-contextrecord', args=[self.pk]), |