diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-02 14:51:09 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-02 14:59:06 +0100 |
commit | 6326867adb72dd9ded160769ef09e77b2e482784 (patch) | |
tree | e7c44902b0dc74675ae3dda5658fc29c14ec71ba /archaeological_files/ishtar_menu.py | |
parent | de9fbce423f780a02b73a9e943995b0b7efb0008 (diff) | |
download | Ishtar-6326867adb72dd9ded160769ef09e77b2e482784.tar.bz2 Ishtar-6326867adb72dd9ded160769ef09e77b2e482784.zip |
Manage document template
* ooo_replace: generate a document by mapping ooo variables with
a given dict
* DocumentTemplate model: store templates associated with a type
of objects
* get_values method: generate a dict of value from a model
* new form/view to generate document from administrativ acts
Diffstat (limited to 'archaeological_files/ishtar_menu.py')
-rw-r--r-- | archaeological_files/ishtar_menu.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archaeological_files/ishtar_menu.py b/archaeological_files/ishtar_menu.py index 6655a381c..87958848a 100644 --- a/archaeological_files/ishtar_menu.py +++ b/archaeological_files/ishtar_menu.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2010-2012 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2010-2013 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -60,6 +60,10 @@ MENU_SECTIONS = [ _(u"Deletion"), model=AdministrativeAct, access_controls=['delete_file', 'delete_own_file']), + MenuItem('file_administrativeact_document', + _(u"Documents"), + model=AdministrativeAct, + access_controls=['change_file', 'change_own_file']), ],), ]), ), |