Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2072 Представления

Unknown error during import: : can only concatenate str (not "bool") to str at multiple rowsResolve other errors first

Аватар
Отменить

Can you please show the some of the content rows in the xlsx file with their corresponding headers ?

Лучший ответ

Hello Chan Myae,

I checked the error which you facing. It looks like you are concatenating two strings and stored in another field but in one string you did not get the string.
You can add the conditions as like below. 

Please find Code in comment. 

I hope This will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Аватар
Отменить

Here is an example:

final_str = ''

if first_str:
final_str + = first_str
if second_str :
final_str + = second_str