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

Hi, I'm a beginner in Odoo and  I want to convert the full amount in a custom_report to words in Invoicing module. Can somebody give me an idea of how can i do that? I have already the py file for conversion. 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Kevin ,

You can use the 'amount_to_text' method from the res currency model.
For reference, please check this.

Hope it will help you.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks, Malay, works perfectly.

อวตาร
ละทิ้ง

Great !!
Can you please give a vote for the answer.

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.พ. 23
6305
2
มี.ค. 19
5108
2
ธ.ค. 18
5516
1
มี.ค. 15
6479
1
มี.ค. 15
5677