Create a board decision from a note for board #22013

This commit is contained in:
Nicolas Demonte 2019-11-21 16:31:36 +01:00
parent a5985dd207
commit 0d01c5dfe7
5 changed files with 23 additions and 0 deletions

View File

@ -27,6 +27,10 @@ msgstr ""
msgid "Board Minutes"
msgstr ""
#: ../profiles/default/types/pfwb.noteforboard.xml
msgid "Create board decision"
msgstr ""
#: ../profiles/default/types/pfwb.greenboarddecision.xml
msgid "Green Board Decision"
msgstr ""

View File

@ -35,6 +35,10 @@ msgstr "Décision du bureau"
msgid "Board Minutes"
msgstr "PV de réunion de bureau"
#: ../profiles/default/types/pfwb.noteforboard.xml
msgid "Create board decision"
msgstr "Créer une décision du bureau"
#: ../profiles/default/types/dmsdocument.xml
msgid "Generic Document"
msgstr "Document générique"

View File

@ -27,6 +27,10 @@ msgstr ""
msgid "Board Minutes"
msgstr ""
#: ../profiles/default/types/pfwb.noteforboard.xml
msgid "Create board decision"
msgstr ""
#: ../profiles/default/types/pfwb.greenboarddecision.xml
msgid "Green Board Decision"
msgstr ""

View File

@ -29,6 +29,10 @@ msgstr ""
msgid "Board Minutes"
msgstr ""
#: ../profiles/default/types/pfwb.noteforboard.xml
msgid "Create board decision"
msgstr ""
#: ../profiles/default/types/pfwb.greenboarddecision.xml
msgid "Green Board Decision"
msgstr ""

View File

@ -60,5 +60,12 @@
url_expr="string:${object_url}/edit" visible="True">
<permission value="Modify portal content"/>
</action>
<action title="Create board decision" i18n:attributes="title" action_id="create_board_decision"
category="object_buttons"
condition_expr="python:portal.portal_membership.getAuthenticatedMember().has_role(['Owner', 'Reviewer'], object) and checkPermission('Add portal content', object.getParentNode())"
description="" icon_expr="" link_target=""
url_expr="string:${object_url}/create_board_decision" visible="True">
<permission value="View"/>
</action>
</object>