diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-04 11:42:13 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-04 11:42:13 +0200 |
| commit | 5a82808c2fa33fdcec7d07b40b455feb645ade84 (patch) | |
| tree | 5583a0e1066fc121454624501d8d4baebdbe04c6 /archaeological_finds/models_finds.py | |
| parent | 3169ce41c64c35c4f0e3bb32379e7e46d7f3aceb (diff) | |
| download | Ishtar-5a82808c2fa33fdcec7d07b40b455feb645ade84.tar.bz2 Ishtar-5a82808c2fa33fdcec7d07b40b455feb645ade84.zip | |
QA find basket: add treatment file
Diffstat (limited to 'archaeological_finds/models_finds.py')
| -rw-r--r-- | archaeological_finds/models_finds.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 24e5227c1..2616d61fa 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -674,6 +674,11 @@ class FindBasket(Basket, MainItem, ValueGetter): (reverse('findbasket-add-treatment', args=[self.pk]), _(u"Add treatment"), "fa fa-flask", "", "", False), ] + if self.can_do(request, "add_treatmentfile"): + actions += [ + (reverse('findbasket-add-treatmentfile', args=[self.pk]), + _(u"Add treatment file"), "fa fa-file-text-o", "", "", False), + ] duplicate = self.QUICK_ACTIONS[0] actions += [ |
