[Erp5-report] r9343 - /erp5/trunk/products/ERP5/Document/BusinessTemplate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Aug 23 11:24:17 CEST 2006
Author: jerome
Date: Wed Aug 23 11:24:12 2006
New Revision: 9343
URL: http://svn.erp5.org?rev=9343&view=rev
Log:
add getRevision method, become some products monkey patch SimpleItem.Item with another getRevision method
Modified:
erp5/trunk/products/ERP5/Document/BusinessTemplate.py
Modified: erp5/trunk/products/ERP5/Document/BusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessTemplate.py?rev=9343&r1=9342&r2=9343&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py Wed Aug 23 11:24:12 2006
@@ -3747,6 +3747,12 @@
self.workflow_history[
'business_template_installation_workflow'] = None
+ def getRevision(self):
+ """returns the revision property.
+ This is a workaround for #461.
+ """
+ return self._baseGetRevision()
+
def updateRevisionNumber(self):
"""Increment bt revision number.
"""
More information about the Erp5-report
mailing list