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

When I tried to import Excel file to Odoo, I got this Error message:

Unable to load "xlsx" file requires Python module "xlrd >= 0.8"

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

To import Data form Excel Files to Odoo. You should add the xlrd package to Odoo Server, to do so you must:


1/ Download the xlrd package from https://pypi.python.org/pypi/xlrd/0.9.2 (I took the tar.gz file)
2/ Extract the folder and Copy only the xlrd folder from it.
3/ Past the xlrd folder in your server (next the addons folder)
4/ Restart the server.





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

Why not a simple pip install XlsxWriter?

Tác giả

* I already executed this command, but the import of data from Excel files doesn't work without putting the xlrd folder in Odoo Server.

* Maybe there is other ways.

* I think "pip install XlsxWriter" is used when you want to print reports from Odoo in Excel.

Câu trả lời hay nhất

Hello, i have odoo 10 and i have follow the guide but nothing, same error. I have put the addon in /opt/odoo/odoo-10.0/addons/xlrd that contain: biffh.py doc formula.py licences.py xldate.pybook.py examples info.py sheet.py xlsx.pycompdoc.py formatting.py __init__.py timemachine.py Can you help me?

i have to do something in odoo to add this service?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 17
2141
0
thg 3 17
2611
3
thg 7 16
4684
3
thg 12 23
20977
3
thg 2 23
11566