Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

amount_to_text

By
Zakaria
on 2/25/13, 11:34 AM 2,626 views

Hi I'm trying to develop an open office invoice and send it to open erp, how to convert the amount in word? Thanx

0

Fabrice Henrion (fhe)

--Fabrice Henrion (fhe)--
5823
| 7 7 8
San Francisco, United States
--Fabrice Henrion (fhe)--

Director Odoo USA

Fabrice Henrion (fhe)
On 2/25/13, 1:51 PM

You should take example on the reports that exist for check writing in the module account_check_writing. They use the amount_to_text function.

0

In your class, you need to import amount_to_text_en for amount in word in english and amount_to_text_fr for amount in word in french, like this:

from openerp.tools.amount_to_text import amount_to_text_en

For more information about these tools, see the link below:

http://members.hellug.gr/xrg/openerp-doc/html/api_reference/tools/amount_to_text.html

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 2/25/13, 11:34 AM
Seen: 2626 times
Last updated: 3/16/15, 8:10 AM