From eb1cd2466efa82c05f710f8ed33dd44e97a3faa7 Mon Sep 17 00:00:00 2001 From: Mame Coumba Sall <mame@nexedi.com> Date: Thu, 11 Jun 2009 13:57:47 +0000 Subject: [PATCH] remove misplaced parenthesis git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27528 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/InvoiceTransactionRule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/InvoiceTransactionRule.py b/product/ERP5/Document/InvoiceTransactionRule.py index fb533f2263..d4617d7694 100644 --- a/product/ERP5/Document/InvoiceTransactionRule.py +++ b/product/ERP5/Document/InvoiceTransactionRule.py @@ -227,7 +227,7 @@ class InvoiceTransactionRule(Rule, PredicateMatrix): start_date=new_mvmt.getStartDate())) if source_exchange_ratio is not None: new_mvmt.setSourceTotalAssetPrice(round( - (source_exchange_ratio*applied_rule.getParentValue().getTotalPrice()), + source_exchange_ratio*applied_rule.getParentValue().getTotalPrice(), precision)) # Pass to base class -- 2.30.9