Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
8675 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
mrt. 18
5057
0
mrt. 15
4278
1
mrt. 15
5832
0
mrt. 25
1093
0
okt. 24
1744