John Paul Prassanna
John Paul Prassanna

Reputation: 3

Import of excel in odoo on Ubuntu 14.04 - not working

When I tried to import an excel file in odoo from Windows it worked perfectly. But when tried this from Ubuntu machine it didn't work. It showed me this error

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

Here's the screen shot

Here's the screen shot

Upvotes: 0

Views: 2740

Answers (2)

Ian Thompson
Ian Thompson

Reputation: 31

For Odoo 10, you need to install XLRD which is version 1.0.0 currently.

sudo -H pip install xlrd

The -H will take care of any error messages regarding the user environment.

Then depending on your system, you MUST restart your odoo instance, or it will not recognize that XLRD is installed.

Hope it helps. It just worked for me with Odoo 10 on Ubuntu 16.04

Upvotes: 3

Hammad Qureshi
Hammad Qureshi

Reputation: 1136

The error is saying that you need a python library "xlrd" in order to load this xlsx file. So make sure that you have installed this python library in your openerp ubuntu machine.

There's another way mentioned in odoo forum how you can installed it. Here it is

First you have to download the package from:

pypi.python.org/pypi/xlrd/0.9.2

Find the folder "xlrd" inside the download, copy it to "OpenERP\Server\"

Restart your server.

Upvotes: 2

Related Questions