diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index 769eb7345b647207770f8f56865a809c80743e86..93b1c0dabee8561c15a836cec8ce894545796363 100755 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -583,7 +583,7 @@ class SitePropertyTemplateItem(BaseTemplateItem): if p.hasProperty(id): # Too much??? raise TemplateConflictError, 'the property %s already exists' % id - object._setProperty(id, property['value'], type=property['type']) + p._setProperty(id, property['value'], type=property['type']) def uninstall(self, context, **kw): p = context.getPortalObject()