Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4555 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
5830
2
mar 19
4777
2
dic 18
5007
1
mar 15
6144
1
mar 15
5304