Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
8909 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 18
5341
0
бер. 15
4517
1
бер. 15
6057
0
бер. 25
1275
0
жовт. 24
2014