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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
3962
Widoki
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 ...
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
lis 23
|
1070 | ||
|
0
cze 23
|
2266 | ||
|
0
paź 22
|
2138 | ||
|
0
paź 22
|
2230 | ||
|
2
paź 21
|
4557 |