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.

1

TypeError : is not JSON serializable

By
abdallah ghrir
on 9/3/15, 4:56 AM 1,199 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
1

Sudhir Arya (SA)

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

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow

LinkedIn

Blog

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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