diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index 13fc9c4f3ef67d8b5e5b2183e565f8684441443f..c128fc2e39b78669d5d12a5af62f8f6758d80749 100644 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -1166,6 +1166,14 @@ class ERP5Site(FolderMixIn, CMFSite): """ return self._getPortalGroupedTypeList('inventory_movement') + security.declareProtected(Permissions.AccessContentsInformation, + 'getPortalInventoryTypeList') + def getPortalInventoryTypeList(self): + """ + Return inventory types. + """ + return self._getPortalGroupedTypeList('inventory') + security.declareProtected(Permissions.AccessContentsInformation, 'getPortalMovementGroupTypeList') def getPortalMovementGroupTypeList(self):