Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
8701 Представления

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
5103
0
мар. 15
4298
1
мар. 15
5846
0
мар. 25
1106
0
окт. 24
1756