converting module from v10 to v13
module install but when i upload csv file its giving me error ..
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
4090
มุมมอง
Hi,
Instead of StringIO try with BytesIO .
Thanks
File "/opt/odoo13/odoo-custom-addons/import_product_image/models/import_image.py", line 47, in import_file
for row in reader:
_csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)
after change
i update question please review images again ...
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
พ.ย. 23
|
1203 | ||
|
0
มิ.ย. 23
|
2374 | ||
|
0
ต.ค. 22
|
2282 | ||
|
0
ต.ค. 22
|
2383 | ||
|
2
ต.ค. 21
|
4672 |