Hi I'm trying to develop an open office invoice and send it to open erp, how to convert the amount in word? Thanx
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
1
mar 18
|
7132 | ||
|
|
0
mar 15
|
6122 | ||
|
|
1
mar 15
|
7187 | ||
|
|
3
kwi 26
|
2621 | ||
|
|
1
kwi 26
|
1550 |