Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2922 Visninger

Hello, everyone,


I have this error, according to the print, but I've searched and I can't find where it could be passing a variable that is of boolean type and can't, from what I understood from the error it was that. 


Is there any way around this situation, this error?


Thank you in advance for your help.


Thank you.


Avatar
Kassér
Bedste svar

The error message "TypeError: 'bool' object is not subscriptable" indicates that you are trying to use square brackets to access an element of a boolean (bool) object in your Odoo template, but booleans in Python are not subscriptable.

To fix this issue, you need to review your Odoo template code and identify where you are trying to subscript a boolean.


Avatar
Kassér