Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
8926 มุมมอง

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
5357
0
มี.ค. 15
4534
1
มี.ค. 15
6068
0
มี.ค. 25
1281
0
ต.ค. 24
2024