[Erp5-report] r27528 - /erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 11 15:57:51 CEST 2009


Author: mame
Date: Thu Jun 11 15:57:47 2009
New Revision: 27528

URL: http://svn.erp5.org?rev=27528&view=rev
Log:
remove misplaced parenthesis

Modified:
    erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py

Modified: erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py?rev=27528&r1=27527&r2=27528&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py [utf8] Thu Jun 11 15:57:47 2009
@@ -227,7 +227,7 @@
             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




More information about the Erp5-report mailing list