[Erp5-report] r37195 ivan - /erp5/trunk/products/ERP5/mixin/document.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jul 20 09:54:20 CEST 2010
Author: ivan
Date: Tue Jul 20 09:54:18 2010
New Revision: 37195
URL: http://svn.erp5.org?rev=37195&view=rev
Log:
Update comment.
Modified:
erp5/trunk/products/ERP5/mixin/document.py
Modified: erp5/trunk/products/ERP5/mixin/document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/mixin/document.py?rev=37195&r1=37194&r2=37195&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/mixin/document.py [utf8] (original)
+++ erp5/trunk/products/ERP5/mixin/document.py [utf8] Tue Jul 20 09:54:18 2010
@@ -63,6 +63,8 @@ class DocumentMixin:
"""
transaction_variable = getTransactionalVariable(self.getPortalObject())
if LOCK_PERMISSION_KEY in transaction_variable:
+ # in convert we want always to check conversion format permission
+ # to bypass such check one should use _convert directly
del transaction_variable[LOCK_PERMISSION_KEY]
self._checkConversionFormatPermission(format, lock_checking=True, **kw)
result = self._convert(format, **kw)
More information about the Erp5-report
mailing list