Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
8782 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 18
5159
0
mar 15
4352
1
mar 15
5902
0
mar 25
1144
0
ott 24
1837