Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
4764 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Autor Melhor resposta

Thanks, Malay, works perfectly.

Avatar
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
2
fev. 23
6061
2
mar. 19
4900
2
dez. 18
5178
1
mar. 15
6274
1
mar. 15
5469