跳至內容
選單
此問題已被標幟
2 回覆
8762 瀏覽次數

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
5149
0
3月 15
4340
1
3月 15
5891
0
3月 25
1136
0
10月 24
1812