Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4148 Zobrazení
Hello,
I am under odoo V8 windows 7
I installed the export_stockinfo_xls module
the problem is that I get an error message when I try to print the excel report.

the problem :
'module' object has no attribute 'Workbook'

<type 'exceptions.AttributeError'>,'module' object has no attribute 'Workbook',<traceback object at 0x075A2210>
i need help please
Avatar
Zrušit
Nejlepší odpověď

It is typically related to the usage of an incorrect or incompatible version of the openpyxl library, which is required to generate Excel reports in Odoo. Or the excel package is missing.

In Odoo V8, the export_stockinfo_xls module relies on openpyxl to handle Excel file generation. If you are receiving this error, it means that Odoo is unable to find or use the Workbook class from the openpyxl module, likely because:

  1. The openpyxl library is either not installed or incorrectly installed.
  2. There might be an issue with the version of openpyxl that is installed
  3. Open a terminal (or Command Prompt) on your Windows machine and enter the following command to check if the openpyxl library is installed in your Python environment:

pip show openpyxl

If it’s not installed, you’ll need to install it by running

pip install openpyxl

Regards,

--

Shihas

Accurates

Avatar
Zrušit
Nejlepší odpověď

You need to install XlsxWriter Library

pip install XlsxWriter


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
5
čvn 17
8918
5
lis 16
6778
0
srp 16
5042
2
čvn 16
3799
1
čvn 25
3182