From 07b94396fd2eceb77c721e3897d897f8aa44d27f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl>
Date: Tue, 27 Mar 2007 14:44:59 +0000
Subject: [PATCH] adjusted to the new oood API removed duplicate property sheet
 entry

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13720 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5OOo/Document/OOoDocument.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/product/ERP5OOo/Document/OOoDocument.py b/product/ERP5OOo/Document/OOoDocument.py
index 37f44a98c9..c2032ea69b 100644
--- a/product/ERP5OOo/Document/OOoDocument.py
+++ b/product/ERP5OOo/Document/OOoDocument.py
@@ -118,7 +118,6 @@ class OOoDocument(File, ConversionCacheMixin):
                     , PropertySheet.ExternalDocument
                     , PropertySheet.Url
                     , PropertySheet.Periodicity
-                    , PropertySheet.Snapshot
                     )
 
   # regular expressions for stripping xml from ODF documents
@@ -188,7 +187,7 @@ class OOoDocument(File, ConversionCacheMixin):
     """
     def cached_getTargetFormatItemList(content_type):
       server_proxy = self._mkProxy()
-      allowed = server_proxy.getAllowedTargets(content_type) # oood API needs naming convention update
+      allowed = server_proxy.getAllowedTargetItemList(content_type) # oood API needs naming convention update
       return [(y, x) for x, y in allowed] # tuple order is reversed to be compatible with ERP5 Form
 
     # Cache valid format list
@@ -376,4 +375,4 @@ class OOoDocument(File, ConversionCacheMixin):
     kw = server_proxy.run_setmetadata(self.getId(),
                                       enc(self._unpackData(self.getBaseData())),
                                       kw)
-    self._setBaseData(dec(kw['data']))
\ No newline at end of file
+    self._setBaseData(dec(kw['data']))
-- 
2.30.9