跳至內容
選單
此問題已被標幟
1 回覆
2778 瀏覽次數

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.


頭像
捨棄
最佳答案

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.


頭像
捨棄