Hi I'm trying to develop an open office invoice and send it to open erp, how to convert the amount in word? Thanx
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
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.
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
mars 18
|
5158 | ||
|
0
mars 15
|
4351 | ||
|
1
mars 15
|
5900 | ||
|
0
mars 25
|
1139 | ||
|
0
oct. 24
|
1832 |