İçereği Atla
Menü
Bu soru işaretlendi
6005 Görünümler

When I Import xlwt directly just Example , 

try:
import xlwt from xlwt import Borders except ImportError: xlwt = None

then working fine with

workbook = xlwt.Workbook()


But when I used the python lib for xlwt :~ https://pypi.org/project/xlwt/#files and put into custom like this

from odoo.addons.inventory.python_lib import xlwt

and calling the

workbook = xlwt.Workbook()

That time error popup
AttributeError: 'NoneType' object has no attribute 'Workbook'
Avatar
Vazgeç

Please use a meaningful title and ask a specific question to make your problem understandable.

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Ağu 25
2788
1
Tem 25
1131
3
Haz 25
8285
1
Ağu 25
1152
0
May 25
1538