Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
c5bd64af
Commit
c5bd64af
authored
Jan 24, 2018
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_crm] Make create_response usable in ERP5JS
parent
0b48b887
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
bt5/erp5_crm/ActionTemplateItem/portal_types/Note/create_response.xml
.../ActionTemplateItem/portal_types/Note/create_response.xml
+2
-2
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_updateCreateResponse.py
...eItem/portal_skins/erp5_crm/Event_updateCreateResponse.py
+6
-6
No files found.
bt5/erp5_crm/ActionTemplateItem/portal_types/Note/create_response.xml
View file @
c5bd64af
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_updateCreateResponse.py
View file @
c5bd64af
...
...
@@ -20,9 +20,9 @@ if response_event_notification_message:
# XXX this relies on formulator internals, we force the variables in request and
# re-render the form.
request
=
container
.
REQUEST
request
.
set
(
'your_response_event_notification_message'
,
''
)
request
.
set
(
'your_response_event_title'
,
temp_event
.
getTitle
()
)
request
.
set
(
'your_response_event_text_content'
,
temp_event
.
getTextContent
()
)
request
.
set
(
'your_response_event_resource'
,
temp_event
.
getResource
()
)
request
.
form
[
'your_response_event_notification_message'
]
=
''
request
.
form
[
'your_response_event_title'
]
=
temp_event
.
getTitle
(
)
request
.
form
[
'your_response_event_text_content'
]
=
temp_event
.
getTextContent
(
)
request
.
form
[
'your_response_event_resource'
]
=
temp_event
.
getResource
(
)
return
context
.
Event_viewCreateResponseDialog
(
)
return
context
.
Base_renderForm
(
'Event_viewCreateResponseDialog'
)
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