diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 26910dfa411252d04b2f763b1a3e39afd152990b..8ea78cc3611c0aa372c4350060199d81461eb783 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -497,7 +497,8 @@ class PropertyHolder: """ Return the list of class method IDs """ - return [x[0] for x in self.getClassMethodItemList()] + return [x[0] for x in self.getClassMethodItemList(klass, + inherited=inherited, local=local)] def getClassPropertyItemList(self, klass, inherited=1, local=1): """ @@ -510,7 +511,8 @@ class PropertyHolder: """ Return the list of class method IDs """ - return [x[0] for x in self.getClassPropertyItemList()] + return [x[0] for x in self.getClassPropertyItemList(klass, + inherited=inherited, local=local)] def getClassPropertyList(klass): ps_list = getattr(klass, 'property_sheets', ())