[Erp5-report] r41484 kazuhiko - in /erp5/trunk/products/ERP5OOo: ./ Document/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Dec 16 09:55:26 CET 2010
Author: kazuhiko
Date: Thu Dec 16 09:55:25 2010
New Revision: 41484
URL: http://svn.erp5.org?rev=41484&view=rev
Log:
now filename should be handled by filename property, not source_reference.
Modified:
erp5/trunk/products/ERP5OOo/Document/OOoDocument.py
erp5/trunk/products/ERP5OOo/OOoTemplate.py
Modified: erp5/trunk/products/ERP5OOo/Document/OOoDocument.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/Document/OOoDocument.py?rev=41484&r1=41483&r2=41484&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/Document/OOoDocument.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/Document/OOoDocument.py [utf8] Thu Dec 16 09:55:25 2010
@@ -163,6 +163,7 @@ class OOoDocument(OOoDocumentExtensibleT
, PropertySheet.DublinCore
, PropertySheet.Version
, PropertySheet.Document
+ , PropertySheet.Data
, PropertySheet.ExternalDocument
, PropertySheet.Url
, PropertySheet.Periodicity
Modified: erp5/trunk/products/ERP5OOo/OOoTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/OOoTemplate.py?rev=41484&r1=41483&r2=41484&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/OOoTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/OOoTemplate.py [utf8] Thu Dec 16 09:55:25 2010
@@ -585,7 +585,7 @@ class OOoTemplate(ZopePageTemplate):
from Products.ERP5Type.Document import newTempOOoDocument
tmp_ooo = newTempOOoDocument(self, self.title_or_id())
tmp_ooo.edit(data=ooo,
- source_reference=filename,
+ filename=filename,
content_type=self.content_type,)
format = opts.get('format', request.get('format', None))
More information about the Erp5-report
mailing list