Commit 9443ecac authored by Gabriel Monnerat's avatar Gabriel Monnerat

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

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