Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5880 มุมมอง

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'
อวตาร
ละทิ้ง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 25
2310
1
ก.ค. 25
831
3
มิ.ย. 25
8108
1
ส.ค. 25
1150
0
พ.ค. 25
1285