Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
10190 มุมมอง

Hi I am on odoo.sh v15 fresh new install with no custom addons yet. But every time I try to import an xls or xlsx file it gives me the following error. I have checked xlrd installed version using odoo.sh shell terminal and Version 1.1.0 is\\ installed\\.\\ See\\ images\\ linked\\ below

https://ibb\\.co/rk2ZzrQ
https://ibb\\.co/4Jv469W

Import preview failed due to: Unable to load "xlsx" file: requires Python module "xlrd >= 1.0.0".

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

The Odoo 15 requirements for python version >= 3.8 is v 1.2.0

Uninstall the current version:

sudo pip3 uninstall xlrd

and install:

sudo pip3 install xlrd==1.2.0

Here you are the Odoo 15 requirements

odoo/requirements.txt at 15.0 · odoo/odoo · GitHub

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I experience this issue when there were formula errors in my import xlsx, e.g. a few cells had #NAME value.

Fixing the formula resolved the issue.

อวตาร
ละทิ้ง

Thanks for sharing that, that was my problem.

Related Posts ตอบกลับ มุมมอง กิจกรรม
Odoo12 babel error แก้ไขแล้ว
1
พ.ย. 19
7044
1
มี.ค. 15
5253
2
ก.ค. 25
1981
Importing Web Pages Seems Impossible แก้ไขแล้ว
2
ก.ค. 25
1799