Odoo Help


A strange error: AttributeError: 'bool' object has no attribute 'setdefault' "

on 3/27/13, 11:50 PM 2,329 views

I write a method and when I work with it , it have a error:

" File "/home/CaiK/Downloads/openerp-6.1-1/openerp/addons/web/common/http.py", line 180, in dispatch response["result"] = method(controller, self, **self.params)

File "/home/CaiK/Downloads/openerp-6.1-1/openerp/addons/web/controllers/main.py", line 1483, in run [action_id], req.session.eval_context(req.context)))

File "/home/CaiK/Downloads/openerp-6.1-1/openerp/addons/web/controllers/main.py", line 638, in clean_action action.setdefault('flags', {})

AttributeError: 'bool' object has no attribute 'setdefault' "

But it also can work with this error.... I don't know what's happen...

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/27/13, 11:50 PM
Seen: 2329 times
Last updated: 3/16/15, 8:10 AM