Odoo Help


TypeError : is not JSON serializable

abdallah ghrir
on 9/3/15, 4:56 AM 2,261 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 (ERP Harbor Consulting Services)
on 9/3/15, 5:41 AM

Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
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: 2261 times
Last updated: 1/30/16, 12:12 AM