[Erp5-report] r42295 seb - /erp5/trunk/products/ERP5OOo/OOoTemplate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 13 11:31:59 CET 2011
Author: seb
Date: Thu Jan 13 11:31:59 2011
New Revision: 42295
URL: http://svn.erp5.org?rev=42295&view=rev
Log:
again to not change request headers when we only calculate
the size of a pt (size is calculated in zmi view)
Modified:
erp5/trunk/products/ERP5OOo/OOoTemplate.py
Modified: erp5/trunk/products/ERP5OOo/OOoTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/OOoTemplate.py?rev=42295&r1=42294&r2=42295&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/OOoTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/OOoTemplate.py [utf8] Thu Jan 13 11:31:59 2011
@@ -596,7 +596,7 @@ class OOoTemplate(ZopePageTemplate):
tmp_ooo.setBaseData(ooo)
tmp_ooo.setBaseContentType(self.content_type)
- if request is not None and not batch_mode:
+ if request is not None and not batch_mode and not source:
return tmp_ooo.index_html(REQUEST=request,
RESPONSE=request.RESPONSE,
format=format)
More information about the Erp5-report
mailing list