Hello Odooers
In odoo8 (python 2.7) StringIO module work Perfectly whenever I run in odoo13 (python 3 & 3.5) given Error like AttributeError: '_io.StringIO' object has no attribute 'next'
When I print input given like <_io.StringIO object at 0x7f6ddeeb6798> also type type then <class '_io.StringIO'>
I used code like this.
from io import StringIO
input = StringIO(data)
line = input.next()
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Proje Yönetimi
- MRP
Bu soru işaretlendi
4800
Görünümler
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
|
0
Eki 23
|
46593 | ||
|
|
1
Eki 23
|
6695 | ||
|
|
2
Şub 23
|
6843 | ||
|
|
1
Ara 22
|
5550 | ||
|
|
1
Kas 22
|
3352 |