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:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Проекты
- MRP
Этот вопрос был отмечен
1
Ответить
4450
Представления
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 ...
Не оставайтесь в стороне – присоединяйтесь к обсуждению!
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
|
0
нояб. 23
|
1782 | ||
|
|
0
июн. 23
|
2931 | ||
|
|
0
окт. 22
|
2828 | ||
|
|
0
окт. 22
|
3016 | ||
|
|
2
окт. 21
|
5178 |