diff --git a/product/ERP5OOo/Document/OOoDocument.py b/product/ERP5OOo/Document/OOoDocument.py index c1276d0321a0563ccfafa9eb7eac0f92dd620ad6..c17eee8b2168a0f8f587dc7bb4e2641d43d63fdd 100644 --- a/product/ERP5OOo/Document/OOoDocument.py +++ b/product/ERP5OOo/Document/OOoDocument.py @@ -488,10 +488,12 @@ class OOoDocument(File, ConversionCacheMixin): based on the values provided by the user. This is implemented through the invocation of the conversion server. """ + # We must use original data which is uploaded by user from editform. + data = self.getData() server_proxy = self._mkProxy() response_code, response_dict, response_message = \ server_proxy.run_setmetadata(self.getId(), - enc(_unpackData(self.getBaseData())), + enc(_unpackData(data)), kw) if response_code == 200: # successful meta data extraction