From 3df49d68734d551f3190af53878ce39882e6946c Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Mon, 27 Feb 2006 16:49:27 +0000 Subject: [PATCH] Fixed "method id not defined". git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5858 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Resource.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5/Document/Resource.py b/product/ERP5/Document/Resource.py index cf1e64fe2b..87ca6d8092 100755 --- a/product/ERP5/Document/Resource.py +++ b/product/ERP5/Document/Resource.py @@ -585,6 +585,7 @@ class Resource(XMLMatrix, CoreResource, Variated): Return the value of the property used to calculate variable pricing This basically calls a script like Product_getPricingVariable """ + method = None if context is not None: method = context._getTypeBasedMethod('getPricingVariable') if method is None or context is None: -- 2.30.9