Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
8764 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 18
5149
0
bře 15
4340
1
bře 15
5891
0
bře 25
1136
0
říj 24
1813