Commit 5654a848 authored by Romain Courteaud's avatar Romain Courteaud

Typo error: do not call getInventoryList directly, but alias method with the...

Typo error: do not call getInventoryList directly, but alias method with the correct simulation period

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14092 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9d2a6a52
......@@ -874,7 +874,7 @@ class SimulationTool(BaseTool):
"""
kw['group_by_variation'] = 0
method = getattr(self,'get%sInventoryList' % simulation_period)
return self.getInventoryList(statistic=1, inventory_list=0,
return method(statistic=1, inventory_list=0,
ignore_group_by=1, **kw)
security.declareProtected(Permissions.AccessContentsInformation,
......
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