Commit 98071d32 authored by Yusei Tahara's avatar Yusei Tahara

Since getTotalPrice accepts any keyword arguments, _getTotalPrice must follow it.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31133 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 537666d1
......@@ -216,7 +216,7 @@ class Movement(XMLObject, Amount):
self.getVariationCategoryList())
return price
def _getTotalPrice(self, default=None, context=None, fast=0):
def _getTotalPrice(self, default=None, context=None, fast=0, **kw):
price = self.getPrice(context=context)
quantity = self.getQuantity()
if isinstance(price, (int, float)) and \
......
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