Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
7997 Vizualizări

when i run odoo version 10 in terminal using:

 python odoo-bin --addons ./addons

it give the error as below:

Error:  from openpyxl.styles import Style,

Font, Alignment, Border, Side ImportError: cannot import name Style

can anyone get it this error?

Please suggest the solution.

Imagine profil
Abandonează
Cel mai bun răspuns

 I have the same error in Odoo 10.  I have written below the line.

 from openpyxl.styles import PatternFill, Border, Side, Alignment, Protection, Font

instead of

from openpyxl import Styles, Font, Alignment, Border, Side
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mar. 21
5661
5
iun. 20
36422
2
iul. 25
4433
0
iun. 25
2
2
dec. 24
7617