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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Vincent Bechu
erp5
Commits
0e0fe2b2
Commit
0e0fe2b2
authored
Mar 20, 2018
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_support_request: Do not use catalog API to resolve paths.
parent
e814fb5f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/PostModule_createHTMLPostForSupportRequest.py
...ort_request/PostModule_createHTMLPostForSupportRequest.py
+2
-1
No files found.
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/PostModule_createHTMLPostForSupportRequest.py
View file @
0e0fe2b2
follow_up_value
,
=
context
.
getPortalObject
().
portal_catalog
(
portal_type
=
"Support Request"
,
relative_url
=
follow_up
,
limit
=
2
)
follow_up_value
=
context
.
getPortalObject
().
restrictedTraverse
(
follow_up
)
assert
follow_up_value
.
getPortalType
()
==
"Support Request"
follow_up_value
.
edit
()
# update modification date
follow_up_value
.
edit
()
# update modification date
post
=
context
.
PostModule_createHTMLPostFromText
(
post
=
context
.
PostModule_createHTMLPostFromText
(
...
...
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