تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4773 أدوات العرض

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
فبراير 23
6065
2
مارس 19
4905
2
ديسمبر 18
5187
1
مارس 15
6277
1
مارس 15
5477