Skip to Content
Menú
This question has been flagged
2 Respostes
8740 Vistes

Hi I'm trying to develop an open office invoice and send it to open erp, how to convert the amount in word? Thanx

Avatar
Descartar
Best Answer

You should take example on the reports that exist for check writing in the module account_check_writing. They use the amount_to_text function.

Avatar
Descartar
Best Answer

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:

http://members.hellug.gr/xrg/openerp-doc/html/api_reference/tools/amount_to_text.html

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de març 18
5127
0
de març 15
4310
1
de març 15
5864
0
de març 25
1118
0
d’oct. 24
1777