Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
5009 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Autor Mejor respuesta

Thanks, Malay, works perfectly.

Avatar
Descartar

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

Publicaciones relacionadas Respuestas Vistas Actividad
2
feb 23
6312
2
mar 19
5111
2
dic 18
5519
1
mar 15
6483
1
mar 15
5679