Odoo Help


TypeError : is not JSON serializable

abdallah ghrir
on 9/3/15, 4:56 AM 1,798 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)
On 9/3/15, 5:19 AM

Hi abdallah ghrir,

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

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: 1798 times
Last updated: 1/30/16, 12:12 AM