Commit 333a6783 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_officejs_support_request_ui: make sure follow up is a support request

on PostModule_createHTMLPostForSupportRequest
parent 6256b9dc
context.getPortalObject().restrictedTraverse(follow_up).edit() # update modification date follow_up_value, = context.getPortalObject().portal_catalog(portal_type="Support Request", relative_url=follow_up, limit=2)
follow_up_value.edit() # update modification date
post = context.PostModule_createHTMLPostFromText( post = context.PostModule_createHTMLPostFromText(
follow_up=follow_up, follow_up=follow_up,
......
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