[Erp5-report] r13720 - /erp5/trunk/products/ERP5OOo/Document/OOoDocument.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 27 16:45:01 CEST 2007
Author: bartek
Date: Tue Mar 27 16:44:59 2007
New Revision: 13720
URL: http://svn.erp5.org?rev=13720&view=rev
Log:
adjusted to the new oood API
removed duplicate property sheet entry
Modified:
erp5/trunk/products/ERP5OOo/Document/OOoDocument.py
Modified: erp5/trunk/products/ERP5OOo/Document/OOoDocument.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/Document/OOoDocument.py?rev=13720&r1=13719&r2=13720&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/Document/OOoDocument.py (original)
+++ erp5/trunk/products/ERP5OOo/Document/OOoDocument.py Tue Mar 27 16:44:59 2007
@@ -118,7 +118,6 @@
, PropertySheet.ExternalDocument
, PropertySheet.Url
, PropertySheet.Periodicity
- , PropertySheet.Snapshot
)
# regular expressions for stripping xml from ODF documents
@@ -188,7 +187,7 @@
"""
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 @@
kw = server_proxy.run_setmetadata(self.getId(),
enc(self._unpackData(self.getBaseData())),
kw)
- self._setBaseData(dec(kw['data']))
+ self._setBaseData(dec(kw['data']))
More information about the Erp5-report
mailing list