Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4760 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
6060
2
mar 19
4900
2
dic 18
5177
1
mar 15
6273
1
mar 15
5461