跳至内容
菜单
此问题已终结
2 回复
8672 查看

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

形象
丢弃
相关帖文 回复 查看 活动
1
3月 18
5052
0
3月 15
4277
1
3月 15
5831
0
3月 25
1090
0
10月 24
1741