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

Don't explicitly pass 'force' keyword argument

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4113 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7455f4ff
No related merge requests found
......@@ -71,15 +71,15 @@ class Order(Delivery):
"""
return 0
def getTotalPrice(self, fast=1, **kw) :
def getTotalPrice(self, **kw) :
"""Returns the total price for this Order. """
kw.setdefault('portal_type', self.getPortalOrderMovementTypeList())
return Delivery.getTotalPrice(self, fast=fast, **kw)
return Delivery.getTotalPrice(self, **kw)
def getTotalQuantity(self, fast=1, **kw) :
def getTotalQuantity(self, **kw) :
"""Returns the total quantity for this Order. """
kw.setdefault('portal_type', self.getPortalOrderMovementTypeList())
return Delivery.getTotalQuantity(self, fast=fast, **kw)
return Delivery.getTotalQuantity(self, **kw)
def applyToOrderRelatedMovement(self, portal_type='Simulation Movement', \
method_id = 'expand'):
......
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