Commit a1e95954 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: No need to use check_needed attribute anymore

parent f0dc7231
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>check_needed=False, item_path_list=[], **kw</string> </value>
<value> <string>check_needed=True, item_path_list=[], **kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
import json
checkNeeded, changed_path_list = context.getParentValue().rebuildBusinessManager(context)
# Get the path list which has been changed/modified in Business Manager
changed_path_list = context.getParentValue().rebuildBusinessManager(context)[1]
return json.dumps({
'check_needed': checkNeeded,
'item_path_list': changed_path_list,
'action_url': context.absolute_url() + '/BusinessManager_buildFromDialogParameterJSON',
})
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