Commit b3611fc7 authored by Jérome Perrin's avatar Jérome Perrin

add getRevision method, become some products monkey patch SimpleItem.Item with...

add getRevision method, become some products monkey patch SimpleItem.Item with another getRevision method



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9343 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b7e2e2d8
......@@ -3747,6 +3747,12 @@ Business Template is a set of definitions, such as skins, portal types and categ
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.
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment