Commit aac4bd65 authored by Alexandre Boeglin's avatar Alexandre Boeglin

use default value in getPrice


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d184e140
......@@ -120,10 +120,10 @@ class SimulationMovement(Movement):
# Price should be acquired
security.declareProtected( Permissions.AccessContentsInformation,
'getPrice')
def getPrice(self, context=None, REQUEST=None, **kw):
def getPrice(self, default=None, context=None, REQUEST=None, **kw):
"""
"""
return self._baseGetPrice() # Call the price method
return self._baseGetPrice(default) # Call the price method
security.declareProtected( Permissions.AccessContentsInformation,
'getCausalityState')
......
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