Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
3289 Lượt xem

hello i m a new user on odoo8 and i want to know how to custom invoce

and how i can whrite cost of my invoce in letter

example

TOTAL  1 euro

            one

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

use amount to text function

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You can use this python module

openerp/tools/amount_to_text_en.py or (amount_to_text.py)

To use it:

from openerp.tools.amount_to_text_en import amount_to_text
...
amount_text = amount_to_text(1, currency='Euro')

 



 

Ảnh đại diện
Huỷ bỏ
Tác giả

thanks i trie and get you bac

Tác giả Câu trả lời hay nhất

thanks to your anser.please how can i do the same with openERP 6.1 i need to convert my amount bill in letter.what module can i use please

Ảnh đại diện
Huỷ bỏ