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

I can export CSV of products by using "export" when I am on the products list. However, the csv is encoded in ANSI. How could I encode it in UTF-8 ?

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

HI,

following link may solve your issue: https://accounts.openerp.com/forum/Help-1/question/30464

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

Hi Nehal, thanks for the link, but I need to have the file directly in UTF-8 when I click the "export" button. I can't have an extra step like converting it myself... I'd like to know what files are used for the export function ?

Find the export_data method in file your_server_addons/osv/orm.py file and web/controllers/main.py index method those are used to export the data from OpenERP.

Tác giả

Thank you I will look into that.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 8 22
2770
1
thg 3 15
9779
3
thg 3 15
7263
2
thg 11 24
37493
2
thg 2 24
12975