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
e38e4047
Commit
e38e4047
authored
Apr 29, 2013
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up the code
parent
4f19c7c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Entity_createEventFromDefaultEventPath.xml
...skins/erp5_crm/Entity_createEventFromDefaultEventPath.xml
+2
-8
bt5/erp5_crm/bt/revision
bt5/erp5_crm/bt/revision
+1
-1
No files found.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Entity_createEventFromDefaultEventPath.xml
View file @
e38e4047
...
...
@@ -64,17 +64,11 @@ notification_message = portal.notification_message_module.NotificationTool_getDo
language=language)\n
assert notification_message is not None, "%s not found." % resource_reference\n
\n
mapping_dict = context.Entity_getDefaultSubstitutionDictFromEvent()\n
if notification_message.getContentType() == "text/html":\n
mail_text = notification_message.asEntireHTML(substitution_method_parameter_dict={\'mapping_dict\':mapping_dict})\n
else:\n
mail_text = notification_message.asText(substitution_method_parameter_dict={\'mapping_dict\':mapping_dict})\n
\n
event = context.Base_addEvent(title=notification_message.getTitle(),\n
event = context.Base_addEvent(title=\'\',\n
direction=\'outgoing\',\n
portal_type=event_portal_type,\n
resource=notification_message.getSpecialise(),\n
text_content=mail_text
,\n
notification_message=resource_reference
,\n
keep_draft=keep_draft,\n
batch_mode=True)\n
\n
...
...
bt5/erp5_crm/bt/revision
View file @
e38e4047
625
\ No newline at end of file
626
\ No newline at end of file
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