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

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
3046
1
ก.ค. 25
1267
3
มิ.ย. 25
8368
1
ส.ค. 25
1152
0
พ.ค. 25
1698