[Erp5-report] r27363 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jun 4 14:27:24 CEST 2009
Author: jerome
Date: Thu Jun 4 14:27:22 2009
New Revision: 27363
URL: http://svn.erp5.org?rev=27363&view=rev
Log:
fix rounding
Modified:
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml
erp5/trunk/bt5/erp5_accounting/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml?rev=27363&r1=27362&r2=27363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml [utf8] Thu Jun 4 14:27:22 2009
@@ -95,7 +95,7 @@
#update the corresponding price and round it according to the precision of\n
#the converted currency\n
line.setDestinationTotalAssetPrice(\n
- round(exchange_ratio*(line.getQuantity())),precision)\n
+ round(exchange_ratio*(line.getQuantity()), precision))\n
\n
\n
msg = context.Base_translateString(\'Price converted.\')\n
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml?rev=27363&r1=27362&r2=27363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml [utf8] Thu Jun 4 14:27:22 2009
@@ -91,7 +91,7 @@
#update the corresponding price and round it according to the precision of\n
#the converted currency\n
line.setSourceTotalAssetPrice(\n
- round(exchange_ratio*(line.getQuantity())),precision)\n
+ round(exchange_ratio*(line.getQuantity()) ,precision))\n
\n
\n
msg = context.Base_translateString(\'Price converted.\')\n
Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=27363&r1=27362&r2=27363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Thu Jun 4 14:27:22 2009
@@ -1,1 +1,1 @@
-930
+931
More information about the Erp5-report
mailing list