[Erp5-report] r6390 - /erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_ac...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Mar 31 01:55:02 CEST 2006
Author: kevin
Date: Fri Mar 31 01:54:58 2006
New Revision: 6390
URL: http://svn.erp5.org?rev=6390&view=rev
Log:
Mark as deprecaded. Advise developpers to use Base_getRoundValue / Base_getPreferredPrecision instead.
Modified:
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_FormatMonetaryValue.xml
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_FormatMonetaryValue.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_FormatMonetaryValue.xml?rev=6390&r1=6389&r2=6390&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_FormatMonetaryValue.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_FormatMonetaryValue.xml Fri Mar 31 01:54:58 2006
@@ -75,6 +75,9 @@
parameter, which is related to the currency.\n
"""\n
\n
+context.log( "ERP5Accounting_FormatMonetaryValue is DEPRECATED."\n
+ , \'It break naming convention and will be removed, please use Base_getRoundValue (sometimes in combination with Base_getPreferredPrecision) instead.\')\n
+\n
# XXX copy & pasted code ...\n
value = str(value)\n
if \'.\' in value :\n
@@ -143,8 +146,9 @@
<string>value</string>
<string>nbsp</string>
<string>precision</string>
+ <string>_getattr_</string>
+ <string>context</string>
<string>str</string>
- <string>_getattr_</string>
<string>_getiter_</string>
<string>integer</string>
<string>reminder</string>
More information about the Erp5-report
mailing list