Commit 84800e21 authored by Gabriel Monnerat's avatar Gabriel Monnerat Committed by Jérome Perrin

HACK: erp5_officejs_support_request_ui: Pass visa file reference as parameter...

HACK: erp5_officejs_support_request_ui: Pass visa file reference as parameter and store as causality
parent 8c64fe10
......@@ -24,12 +24,13 @@ support_request = portal.support_request_module.newContent(
portal_type='Support Request',
title=title,
resource=resource,
destination_decision_value=logged_in_user_value,
destination_decision_value = logged_in_user_value,
source_decision_value = project_object.getSourceDecisionValue(),
source_section_value = project_object.getSourceSectionValue(),
source_project_value = project_object,
destination_value = project_object.getDestinationValue(),
destination_section_value = project_object.getDestinationSectionValue(),
default_causality_value = default_causality_value,
start_date=now,
)
......
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>description, file, resource, title, project, source_reference=None, **kwargs</string> </value>
<value> <string>description, file, resource, title, project, visa_file_reference=None, source_reference=None, **kwargs</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
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