Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
6096 Ansichten

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
Verwerfen

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Aug. 25
3061
1
Juli 25
1278
3
Juni 25
8387
1
Aug. 25
1152
0
Mai 25
1707