Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
56ebf97c
Commit
56ebf97c
authored
Oct 27, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crm: respect chosen template notification message's content type in event creation dialog.
parent
3b28098c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_updateCreateResponseWorkflowActionDialog.xml
...5_crm/Ticket_updateCreateResponseWorkflowActionDialog.xml
+1
-0
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewCreateResponseWorkflowActionDialog/your_response_event_text_content.xml
...WorkflowActionDialog/your_response_event_text_content.xml
+1
-1
No files found.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_updateCreateResponseWorkflowActionDialog.xml
View file @
56ebf97c
...
...
@@ -91,6 +91,7 @@ if response_event_notification_message:\n
request.set(\'your_response_event_notification_message\', \'\')\n
request.set(\'your_response_event_title\', title)\n
request.set(\'your_response_event_text_content\', temp_event.getTextContent())\n
request.set(\'your_response_event_content_type\', temp_event.getContentType())\n
request.set(\'your_response_event_resource\', temp_event.getResource())\n
\n
return context.Ticket_viewCreateResponseWorkflowActionDialog()\n
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewCreateResponseWorkflowActionDialog/your_response_event_text_content.xml
View file @
56ebf97c
...
...
@@ -182,7 +182,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: context.
Ticket_getCausalityValue().Base_getEditorFieldPreferredTextEditor(content_type=
context.Ticket_getCausalityValue().Event_getPreferredResponseEventContentType())
</string>
</value>
<value>
<string>
python: context.
Base_getEditorFieldPreferredTextEditor(content_type=request.get(\'your_response_event_content_type\') or
context.Ticket_getCausalityValue().Event_getPreferredResponseEventContentType())
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment