Commit 14ba434e authored by Jérome Perrin's avatar Jérome Perrin

add missing from_date argument when getting initial balance from balance transaction line.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17028 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8aff0669
...@@ -333,6 +333,7 @@ for node in getInventoryList(\n ...@@ -333,6 +333,7 @@ for node in getInventoryList(\n
node_category_strict_membership=account_type_to_group_by_node,\n node_category_strict_membership=account_type_to_group_by_node,\n
group_by_node=1,\n group_by_node=1,\n
omit_output=1,\n omit_output=1,\n
from_date=from_date,\n
at_date=from_date + 1,\n at_date=from_date + 1,\n
portal_type=balance_movement_type_list,\n portal_type=balance_movement_type_list,\n
**inventory_params):\n **inventory_params):\n
...@@ -347,6 +348,7 @@ for node in getInventoryList(\n ...@@ -347,6 +348,7 @@ for node in getInventoryList(\n
node_category_strict_membership=account_type_to_group_by_node,\n node_category_strict_membership=account_type_to_group_by_node,\n
group_by_node=1,\n group_by_node=1,\n
omit_input=1,\n omit_input=1,\n
from_date=from_date,\n
at_date=from_date + 1,\n at_date=from_date + 1,\n
portal_type=balance_movement_type_list,\n portal_type=balance_movement_type_list,\n
**inventory_params):\n **inventory_params):\n
...@@ -450,6 +452,7 @@ if account_type_to_group_by_mirror_section:\n ...@@ -450,6 +452,7 @@ if account_type_to_group_by_mirror_section:\n
group_by_mirror_section=1,\n group_by_mirror_section=1,\n
group_by_node=1,\n group_by_node=1,\n
omit_output=1,\n omit_output=1,\n
from_date=from_date,\n
at_date=from_date + 1,\n at_date=from_date + 1,\n
portal_type=balance_movement_type_list,\n portal_type=balance_movement_type_list,\n
**inventory_params):\n **inventory_params):\n
...@@ -466,6 +469,7 @@ if account_type_to_group_by_mirror_section:\n ...@@ -466,6 +469,7 @@ if account_type_to_group_by_mirror_section:\n
group_by_mirror_section=1,\n group_by_mirror_section=1,\n
group_by_node=1,\n group_by_node=1,\n
omit_input=1,\n omit_input=1,\n
from_date=from_date,\n
at_date=from_date + 1,\n at_date=from_date + 1,\n
portal_type=balance_movement_type_list,\n portal_type=balance_movement_type_list,\n
**inventory_params):\n **inventory_params):\n
...@@ -539,6 +543,7 @@ if account_type_to_group_by_payment:\n ...@@ -539,6 +543,7 @@ if account_type_to_group_by_payment:\n
group_by_payment=1,\n group_by_payment=1,\n
group_by_node=1,\n group_by_node=1,\n
omit_output=1,\n omit_output=1,\n
from_date=from_date,\n
at_date=from_date + 1,\n at_date=from_date + 1,\n
portal_type=balance_movement_type_list,\n portal_type=balance_movement_type_list,\n
**inventory_params):\n **inventory_params):\n
...@@ -556,6 +561,7 @@ if account_type_to_group_by_payment:\n ...@@ -556,6 +561,7 @@ if account_type_to_group_by_payment:\n
group_by_payment=1,\n group_by_payment=1,\n
group_by_node=1,\n group_by_node=1,\n
omit_input=1,\n omit_input=1,\n
from_date=from_date,\n
at_date=from_date + 1,\n at_date=from_date + 1,\n
portal_type=balance_movement_type_list,\n portal_type=balance_movement_type_list,\n
**inventory_params):\n **inventory_params):\n
......
441 442
\ 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