From 98071d3263427cd43d6d07d6c2271fe35eb8f414 Mon Sep 17 00:00:00 2001 From: Yusei Tahara <yusei@nexedi.com> Date: Tue, 8 Dec 2009 05:42:28 +0000 Subject: [PATCH] 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 --- product/ERP5/Document/Movement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/Movement.py b/product/ERP5/Document/Movement.py index 47d39d5115..38365762cc 100644 --- a/product/ERP5/Document/Movement.py +++ b/product/ERP5/Document/Movement.py @@ -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 \ -- 2.30.9