Skip to Content
मेन्यू
This question has been flagged
6001 Views

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
Discard

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

Related Posts Replies Views Activity
2
अग॰ 25
2765
1
जुल॰ 25
1112
3
जून 25
8273
1
अग॰ 25
1152
0
मई 25
1532