Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5862 Zobrazení

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
2
srp 25
2182
1
čvc 25
737
3
čvn 25
8071
1
srp 25
1150
0
kvě 25
1251