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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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:
- The openpyxl library is either not installed or incorrectly installed.
- There might be an issue with the version of openpyxl that is installed
- 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
You need to install XlsxWriter Library
pip install XlsxWriter
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
5
thg 6 17
|
9071 | ||
|
5
thg 11 16
|
6914 | ||
|
0
thg 8 16
|
5154 | ||
|
2
thg 6 16
|
3903 | ||
|
1
thg 6 25
|
3339 |