[Erp5-report] r14420 - /erp5/trunk/products/ERP5OOo/Document/OOoDocument.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue May 8 00:58:53 CEST 2007


Author: jp
Date: Tue May  8 00:58:53 2007
New Revision: 14420

URL: http://svn.erp5.org?rev=14420&view=rev
Log:
Convert to base format before trying to find destination formats.

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=14420&r1=14419&r2=14420&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/Document/OOoDocument.py (original)
+++ erp5/trunk/products/ERP5OOo/Document/OOoDocument.py Tue May  8 00:58:53 2007
@@ -179,6 +179,9 @@
       NOTE: it is the responsability of the conversion server
       to provide an extensive list of conversion formats.
     """
+    if not self.hasBaseData():
+      self.convertToBaseFormat()
+
     def cached_getTargetFormatItemList(content_type):
       server_proxy = self._mkProxy()
       try:




More information about the Erp5-report mailing list