Commit 9e95c1c6 authored by Jérome Perrin's avatar Jérome Perrin

remove is_accountable parameter to getInventory*, as stock table only contains...

remove is_accountable parameter to getInventory*, as stock table only contains accountable movements.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5649 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 08c4fb99
...@@ -189,7 +189,7 @@ class SimulationTool (BaseTool): ...@@ -189,7 +189,7 @@ class SimulationTool (BaseTool):
simulation_state=None, transit_simulation_state = None, omit_transit=0, simulation_state=None, transit_simulation_state = None, omit_transit=0,
input_simulation_state = None, output_simulation_state=None, input_simulation_state = None, output_simulation_state=None,
variation_text=None, sub_variation_text=None, variation_text=None, sub_variation_text=None,
variation_category=None,is_accountable=None, variation_category=None,
**kw) : **kw) :
""" """
generates keywork and calls buildSqlQuery generates keywork and calls buildSqlQuery
...@@ -221,9 +221,6 @@ class SimulationTool (BaseTool): ...@@ -221,9 +221,6 @@ class SimulationTool (BaseTool):
if len(resource_uid_list) : if len(resource_uid_list) :
new_kw[table + '.resource_uid'] = resource_uid_list new_kw[table + '.resource_uid'] = resource_uid_list
if is_accountable is not None:
new_kw[table + '.is_accountable'] = is_accountable
node_uid_list = self._generatePropertyUidList(node) node_uid_list = self._generatePropertyUidList(node)
if len(node_uid_list) : if len(node_uid_list) :
new_kw[table + '.node_uid'] = node_uid_list new_kw[table + '.node_uid'] = node_uid_list
...@@ -410,8 +407,6 @@ class SimulationTool (BaseTool): ...@@ -410,8 +407,6 @@ class SimulationTool (BaseTool):
omit_output omit_output
is_accountable - 0 or 1. Select only movement from deliveries, not orders
selection_domain, selection_report - see ListBox selection_domain, selection_report - see ListBox
group_by_variation (useless on getInventory, but useful on getInventoryList) group_by_variation (useless on getInventory, but useful on getInventoryList)
......
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