[Erp5-report] r35417 yo - in /erp5/trunk/bt5/erp5_trade: SkinTemplateItem/portal_skins/erp5...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue May 18 10:57:48 CEST 2010
Author: yo
Date: Tue May 18 10:57:45 2010
New Revision: 35417
URL: http://svn.erp5.org?rev=35417&view=rev
Log:
2010-05-18 yo
* Change the default of rounding to False, as it is currently very slow to apply rounding models. So those who want to use this feature should enable it explicitly.
Modified:
erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_getSpecialisedAggregatedAmountList.xml
erp5/trunk/bt5/erp5_trade/bt/change_log
erp5/trunk/bt5/erp5_trade/bt/revision
Modified: erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_getSpecialisedAggregatedAmountList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_getSpecialisedAggregatedAmountList.xml?rev=35417&r1=35416&r2=35417&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_getSpecialisedAggregatedAmountList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_getSpecialisedAggregatedAmountList.xml [utf8] Tue May 18 10:57:45 2010
@@ -56,7 +56,7 @@
<value> <string>specialise = context.getSpecialiseValue(portal_type=(\'Purchase Trade Condition\',\'Sale Trade Condition\'))\n
\n
if specialise is not None:\n
- rounding = kwargs.get(\'rounding\', True)\n
+ rounding = kwargs.get(\'rounding\', False)\n
return specialise.getAggregatedAmountList(context, rounding=rounding)\n
\n
return []\n
@@ -102,7 +102,7 @@
<string>context</string>
<string>specialise</string>
<string>None</string>
- <string>True</string>
+ <string>False</string>
<string>rounding</string>
</tuple>
</value>
Modified: erp5/trunk/bt5/erp5_trade/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/change_log?rev=35417&r1=35416&r2=35417&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_trade/bt/change_log [utf8] Tue May 18 10:57:45 2010
@@ -1,3 +1,6 @@
+2010-05-18 yo
+* Change the default of rounding to False, as it is currently very slow to apply rounding models. So those who want to use this feature should enable it explicitly.
+
2010-05-18 yo
* Have Base_getSpecialisedAggregatedAmountList to pass the parameter rounding to getAggregatedAmountList. It defaults to True, as this method is used for UI, and rounding should be applied in the UI in most cases.
Modified: erp5/trunk/bt5/erp5_trade/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/revision?rev=35417&r1=35416&r2=35417&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_trade/bt/revision [utf8] Tue May 18 10:57:45 2010
@@ -1,1 +1,1 @@
-924
+925
More information about the Erp5-report
mailing list