Commit 2dd310e1 authored by Ayush Tiwari's avatar Ayush Tiwari

[erp5_core]: Update url script so as to support renderJS UI

parent 7838d60f
if brain is None: if brain is None:
brain = context brain = context
return '%s/Base_download' % brain.absolute_url() url = '%s/Base_download' % brain.absolute_url()
if url_dict:
return {'command': 'raw',
'options': {
'url': url
}
}
return url
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>brain=None, selection=None, selection_name=None, **kw</string> </value> <value> <string>url_dict=False, brain=None, selection=None, selection_name=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