diff --git a/product/ERP5/Document/Resource.py b/product/ERP5/Document/Resource.py index c880fe0988cf22cef5418a166cbcf85e9e9c9f4a..cf1e64fe2b47657d03208a5ef45b8060772bdbee 100755 --- a/product/ERP5/Document/Resource.py +++ b/product/ERP5/Document/Resource.py @@ -586,9 +586,9 @@ class Resource(XMLMatrix, CoreResource, Variated): This basically calls a script like Product_getPricingVariable """ if context is not None: - method = context._getTypeBasedMethod('_getPricingVariable') + method = context._getTypeBasedMethod('getPricingVariable') if method is None or context is None: - method = self._getTypeBasedMethod('_getPricingVariable') + method = self._getTypeBasedMethod('getPricingVariable') if method is None: return 0.0