[Erp5-report] r10380 - /erp5/trunk/products/ERP5/Document/BusinessTemplate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Sep 28 10:19:46 CEST 2006
Author: jerome
Date: Thu Sep 28 10:19:44 2006
New Revision: 10380
URL: http://svn.erp5.org?rev=10380&view=rev
Log:
getBuildingState and getInstallationState can recieve a default as first positional argument
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=10380&r1=10379&r2=10380&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py Thu Sep 28 10:19:44 2006
@@ -4170,7 +4170,7 @@
security.declareProtected(Permissions.AccessContentsInformation,
'getBuildingState')
- def getBuildingState(self, id_only=1):
+ def getBuildingState(self, default=None, id_only=1):
"""
Returns the current state in building
"""
@@ -4181,7 +4181,7 @@
security.declareProtected(Permissions.AccessContentsInformation,
'getInstallationState')
- def getInstallationState(self, id_only=1):
+ def getInstallationState(self, default=None, id_only=1):
"""
Returns the current state in installation
"""
More information about the Erp5-report
mailing list