Create a follow-up mail from a board decision #22013
This commit is contained in:
parent
27aa9abf9b
commit
b6893757d8
|
@ -39,6 +39,10 @@ msgstr "Note à la conférence des Présidents ou Bureau élargi"
|
|||
msgid "Create board decision"
|
||||
msgstr "Créer une décision du bureau"
|
||||
|
||||
#: ../profiles/default/types/pfwb.boarddecision.xml
|
||||
msgid "Create follow-up mail"
|
||||
msgstr "Créer un courrier de suivi"
|
||||
|
||||
#: ../profiles/default/types/pfwb.boarddecision.xml
|
||||
msgid "Create outgoing mail"
|
||||
msgstr "Créer une réponse"
|
||||
|
|
|
@ -41,6 +41,10 @@ msgstr ""
|
|||
msgid "Create board decision"
|
||||
msgstr ""
|
||||
|
||||
#: ../profiles/default/types/pfwb.boarddecision.xml
|
||||
msgid "Create follow-up mail"
|
||||
msgstr ""
|
||||
|
||||
#: ../profiles/default/types/pfwb.boarddecision.xml
|
||||
msgid "Create outgoing mail"
|
||||
msgstr ""
|
||||
|
|
|
@ -68,5 +68,12 @@
|
|||
url_expr="string:${object_url}/create_outgoing_mail" visible="True">
|
||||
<permission value="View"/>
|
||||
</action>
|
||||
<action title="Create follow-up mail" i18n:attributes="title" action_id="create_follow_up_mail"
|
||||
category="object_buttons"
|
||||
condition_expr="python:portal.portal_membership.getAuthenticatedMember().has_role(['Owner', 'Reviewer'], object) and checkPermission('Add portal content', object.getParentNode()) and object.restrictedTraverse('@@plone_context_state').workflow_state() == 'processing'"
|
||||
description="" icon_expr="" link_target=""
|
||||
url_expr="string:${object_url}/create_outgoing_mail?follow_up=1" visible="True">
|
||||
<permission value="View"/>
|
||||
</action>
|
||||
|
||||
</object>
|
||||
|
|
Reference in New Issue