Commit 1d45a963 authored by Jérome Perrin's avatar Jérome Perrin

core: remove deprecated SimulationTool.getConvertedInventoryList

parent aba1d3d2
......@@ -1650,25 +1650,6 @@ class SimulationTool(BaseTool):
),
)
security.declareProtected(Permissions.AccessContentsInformation,
'getConvertedInventoryList')
def getConvertedInventoryList(self, simulation_period='', **kw):
"""
Return list of inventory with a 'converted_quantity' additional column,
which contains the sum of measurements for the specified metric type,
expressed in the 'quantity_unit' unit.
metric_type - category
quantity_unit - category
"""
warn('getConvertedInventoryList is Deprecated, use ' \
'getInventory instead.', DeprecationWarning)
method = getattr(self,'get%sInventoryList' % simulation_period)
return method(**kw)
security.declareProtected(Permissions.AccessContentsInformation,
'getAllInventoryList')
def getAllInventoryList(self, src__=0, **kw):
......
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