Odoo Help


TypeError : is not JSON serializable

abdallah ghrir
on 9/3/15, 4:56 AM 1,356 views

hi ,

please when i do  this steps :

                                1/ Activate the developer mode

                                2/ Open my custom Form view 

                               3/ Open developer mode list and go to View Fields .

I face this error  : 

TypeError: set([('activity', 'Activity'), ('root_inc', 'Root inc'), ('composant', 'Composant'), ('output', 'Output'), ('action', 'Action'), ('income', 'Income'), ('root_exp', 'Root')]) is not JSON serializable

Please i want a solution , thanks 

Hi Sudhir Arya , Thanks a lot for your help i found the solution , my problem that in my selection field i put  ({('','')}) instead of ([('','')]) .

abdallah ghrir
on 9/3/15, 5:23 AM

As I guessed. I thought there must be a syntax error in your field definition. I am glad my suggestion helped you.

Sudhir Arya (SA)
on 9/3/15, 5:41 AM

Sudhir Arya (SA)

--Sudhir Arya (SA)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow




Sudhir Arya (SA)
On 9/3/15, 5:19 AM

Hi abdallah ghrir,

Make sure you have created your fields correctly and there is no syntax problem.

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 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

1 follower(s)


Asked: 9/3/15, 4:56 AM
Seen: 1356 times
Last updated: 1/30/16, 12:12 AM