Commit 6500aaed authored by Jérome Perrin's avatar Jérome Perrin

Previous commit had a bad side effect, because portal_type key is passed by most lisboxes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14147 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ab6100d
...@@ -100,7 +100,7 @@ params = dict(at_date=at_date,\n ...@@ -100,7 +100,7 @@ params = dict(at_date=at_date,\n
simulation_state=simulation_state,\n simulation_state=simulation_state,\n
omit_grouping_reference=omit_grouping_reference,\n omit_grouping_reference=omit_grouping_reference,\n
period_start_date=period_start_date,\n period_start_date=period_start_date,\n
portal_type=portal.getPortalAccountingMovementTypeList(),\n movement_portal_type=portal.getPortalAccountingMovementTypeList(),\n
no_mirror_section_uid_cache=1)\n no_mirror_section_uid_cache=1)\n
\n \n
if from_date:\n if from_date:\n
......
...@@ -158,9 +158,9 @@ simulation_state = selection_params.get(\'simulation_state\',\n ...@@ -158,9 +158,9 @@ simulation_state = selection_params.get(\'simulation_state\',\n
if simulation_state:\n if simulation_state:\n
params[\'simulation_state\'] = simulation_state\n params[\'simulation_state\'] = simulation_state\n
\n \n
portal_type = selection_params.get(\'portal_type\', None)\n portal_type = selection_params.get(\'movement_portal_type\', None)\n
if portal_type:\n if portal_type:\n
params[\'portal_type\'] = portal_type\n params[\'portal_type\'] = movement_portal_type\n
else:\n else:\n
parent_portal_type = selection_params.get(\'parent_portal_type\', None)\n parent_portal_type = selection_params.get(\'parent_portal_type\', None)\n
if parent_portal_type:\n if parent_portal_type:\n
...@@ -236,6 +236,7 @@ return dict(params)\n ...@@ -236,6 +236,7 @@ return dict(params)\n
<string>payment_uid</string> <string>payment_uid</string>
<string>simulation_state</string> <string>simulation_state</string>
<string>portal_type</string> <string>portal_type</string>
<string>movement_portal_type</string>
<string>parent_portal_type</string> <string>parent_portal_type</string>
</tuple> </tuple>
</value> </value>
......
259 264
\ No newline at end of file \ No newline at end of file
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