Commit 2f123dd9 authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: fixup document_proxy

parent 8da8efc7
...@@ -19,6 +19,9 @@ if int(REQUEST.getHeader('Content-Length', 0)) > 3145728: ...@@ -19,6 +19,9 @@ if int(REQUEST.getHeader('Content-Length', 0)) > 3145728:
if (content_type is not None) and (content_type != 'text/plain'): if (content_type is not None) and (content_type != 'text/plain'):
raise ValueError('Unsupported text content_type: %s' % content_type) raise ValueError('Unsupported text content_type: %s' % content_type)
if document_proxy is not None:
assert portal_type == 'Assignment'
# Create a mail message to allow attachment in the event # Create a mail message to allow attachment in the event
attachment_list = [] attachment_list = []
if attachment: if attachment:
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>title, direction, portal_type, resource, text_content, content_type=None, attachment=None, notification_message=None, substitution_method_parameter_dict=None, keep_draft=False, source=None, destination=None, language=None, comment=None, REQUEST=None, **kw</string> </value> <value> <string>title, direction, portal_type, resource, text_content, content_type=None, attachment=None, notification_message=None, substitution_method_parameter_dict=None, keep_draft=False, source=None, destination=None, language=None, comment=None, document_proxy=None, REQUEST=None, **kw</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