[FIX] Amount_To_Text Corrected

lp bug: https://launchpad.net/bugs/453269 fixed

bzr revid: jvo@tinyerp.com-20100210061107-a8ck50crust98lxd
This commit is contained in:
VRA(OpenERP)
2010-02-10 11:41:07 +05:30
committed by Jay (Open ERP)
parent 5d5d093baf
commit 289d243b61
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -74,6 +74,7 @@ def french_number(val):
return ret
def amount_to_text_fr(number, currency):
number = '%.2f' % number
units_name = currency
list = str(number).split('.')
start_word = french_number(abs(int(list[0])))
@@ -137,6 +138,7 @@ def dutch_number(val):
return ret
def amount_to_text_nl(number, currency):
number = '%.2f' % number
units_name = currency
list = str(number).split('.')
start_word = dutch_number(int(list[0]))
+1
View File
@@ -74,6 +74,7 @@ def english_number(val):
return ret
def amount_to_text(number, currency):
number = '%.2f' % number
units_name = currency
list = str(number).split('.')
start_word = english_number(int(list[0]))