In your class, you need to import amount_to_text_en for amount in word in english and amount_to_text_fr for amount in word in french, like this:
from openerp.tools.amount_to_text import amount_to_text_en
For more information about these tools, see the link below:
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/25/13, 11:34 AM|
|Seen: 2621 times|
|Last updated: 3/16/15, 8:10 AM|