Skip to Content
Menu
This question has been flagged
1 Reply
2786 Views

Hi,

I am using odoo 12 for my operation, everything is fine but the amount in words in invoice is not compatible with Indian accounting standards (for ex: 2,34,550.50 should be converted in word as - two lakhs thirty four thousand five hundred fifty rupees and fifty paise)

Any clues how to solve this in odoo 12?  

Avatar
Discard
Best Answer

#Import this funciton in your py file

from openerp.tools.amount_to_text_en import amount_to_text
amt = 13456
amount_in_word = amount_to_text(amt)
print "Amount in word ::::::::::",amount_in_word
I hope this will solve your problem.
Avatar
Discard