diff --git a/product/ERP5/Document/Document.py b/product/ERP5/Document/Document.py index 814cf8aef431785c15a6bd22bc621ffbfc0f74ee..0c6d72cf9cfbca27e434f26763a4768730b23bde 100644 --- a/product/ERP5/Document/Document.py +++ b/product/ERP5/Document/Document.py @@ -1379,7 +1379,7 @@ class Document(PermanentURLMixIn, XMLObject, UrlMixIn, ConversionCacheMixin, Sna def _setBaseData(self, data): if data is not None: data = Pdata(data) - self._baseSetBaseData(Pdata(data)) + self._baseSetBaseData(data) security.declareProtected(Permissions.AccessContentsInformation, 'getBaseData')