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
- Contabilidad
- Inventario
- PoS
- Proyectos
- MRP
Se marcó esta pregunta
1
Responder
4424
Vistas
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 ...
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
0
nov 23
|
1775 | ||
|
|
0
jun 23
|
2926 | ||
|
|
0
oct 22
|
2825 | ||
|
|
0
oct 22
|
3009 | ||
|
|
2
oct 21
|
5173 |