Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
8893 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 18
5325
0
Mar 15
4500
1
Mar 15
6043
0
Mar 25
1264
0
Okt 24
1988