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

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
مارس 18
5156
0
مارس 15
4344
1
مارس 15
5893
0
مارس 25
1136
0
أكتوبر 24
1823