Odoo Help

Welcome!

This community 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.

2

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

By
CK
on 3/27/13, 11:50 PM 1,383 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...

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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