Commit 0e0fe2b2 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_officejs_support_request: Do not use catalog API to resolve paths.

parent e814fb5f
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
post = context.PostModule_createHTMLPostFromText(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment