diff --git a/product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.SimulationTool.py b/product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.SimulationTool.py index 5de52acaa590d75aa189ca15fabcec959da45d12..cac1e79b5698fba5d816086d4fede7b8e7736481 100644 --- a/product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.SimulationTool.py +++ b/product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.SimulationTool.py @@ -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):