Hello,
I would like to resolve the following erreur , which appear when i try to create new user :
AttributeError: 'bool' object has no attribute 'lower'
This erreur appear when i have changed the language to french.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I would like to resolve the following erreur , which appear when i try to create new user :
AttributeError: 'bool' object has no attribute 'lower'
This erreur appear when i have changed the language to french.
Hello Zakaria,
In odoo v10 I check it, It works fine. Not getting the error.
As per your error, it generates when a variable value is got False or Null.
See the below example:
e.g:
x = "YOGENDRASINH"
x.lower()
Result : yogendrasinh
But,
x = False
x.lower()
it will raise an error.
AttributeError: 'bool' object has no attribute 'lower'
If you have any custom modules and installed then check the code first.
Thanks
Thank you, i have fixed that by writing str(myvariable).lower()
Good !! :)
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.