Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
4780 Vues

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. 

Avatar
Ignorer
Meilleure réponse

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.

Avatar
Ignorer
Auteur Meilleure réponse

Thanks, Malay, works perfectly.

Avatar
Ignorer

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

Publications associées Réponses Vues Activité
2
févr. 23
6071
2
mars 19
4907
2
déc. 18
5194
1
mars 15
6281
1
mars 15
5479