Odoo Help

1

amount_to_text

By
Zakaria
on 2/25/13, 11:34 AM 3,155 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)--
6048
| 7 7 9
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

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

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