Commit a93801bd authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_research_item: add date in jump url

parent 07ed51ef
...@@ -132,8 +132,8 @@ if len(summary_dict): ...@@ -132,8 +132,8 @@ if len(summary_dict):
task_report_module_url = "%s/task_report_module/view?reset:int=1&default_source_uid=%s&title=%%" % (portal_absolute_url, node_uid) task_report_module_url = "%s/task_report_module/view?reset:int=1&default_source_uid=%s&title=%%" % (portal_absolute_url, node_uid)
item_url = column_relative_url_list_dict[column_id][0] item_url = column_relative_url_list_dict[column_id][0]
if item_url: if item_url:
task_report_module_url += "&child_aggregate_relative_url=%s&ledger_relative_url=ledger/%s" % \ task_report_module_url += "&child_aggregate_relative_url=%s&ledger_relative_url=ledger/%s&listbox_delivery.start_date=>%s&listbox_delivery.stop_date=<=%s" % \
(item_url, ledger) (item_url, ledger, from_date, at_date)
else: else:
task_report_module_url += "&child_aggregate_relative_url=%%3dNULL&left_join_list=child_aggregate_relative_url&ledger_relative_url=ledger/%s" % \ task_report_module_url += "&child_aggregate_relative_url=%%3dNULL&left_join_list=child_aggregate_relative_url&ledger_relative_url=ledger/%s" % \
(ledger, ) (ledger, )
...@@ -149,11 +149,11 @@ if len(summary_dict): ...@@ -149,11 +149,11 @@ if len(summary_dict):
item_url = column_relative_url_list_dict[column_id][0] item_url = column_relative_url_list_dict[column_id][0]
if item_url: if item_url:
if len(item_url.split('/')) == 2: if len(item_url.split('/')) == 2:
project_module_url += "&source_project_relative_url=%s&ledger_relative_url=ledger/%s" % \ project_module_url += "&source_project_relative_url=%s&ledger_relative_url=ledger/%s&listbox_delivery.start_date=>%s&listbox_delivery.stop_date=<=%s" % \
(item_url, ledger) (item_url, ledger, from_date, at_date)
else: else:
project_module_url += "&child_source_project_relative_url=%s&ledger_relative_url=ledger/%s" % \ project_module_url += "&child_source_project_relative_url=%s&ledger_relative_url=ledger/%s&listbox_delivery.start_date=>%s&listbox_delivery.stop_date=<=%s" % \
(item_url, ledger) (item_url, ledger, from_date, at_date)
row_object.edit(**{"{}_column_url".format(column_id): project_module_url}) row_object.edit(**{"{}_column_url".format(column_id): project_module_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>at_date=None, from_date=None, simulation_state_list=None, ledger=None, multiplier=None, batch_mode=False, column_configuration_list=None, project_list=None, **kw</string> </value> <value> <string>at_date=None, from_date=None, simulation_state_list=None, ledger=None, multiplier=None, batch_mode=False, column_configuration_list=None, project_list=[], **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