Odoo Help


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.


Uncaught TypeError: Cannot read property 'fault_code' of undefined. While print a report i got this error. How can i solve this? Still the same issue

on 12/10/14, 2:50 AM 1,041 views

While printing any report in openerp, got an error: Uncaught TypeError: Cannot read property 'fault_code' of undefined.

How can i solve this?

@rosey can you post your code here, I think the object using which you are trying to access the "fault_code" is not set, therefore its none and you cannot fetch the value.

Emipro Technologies Pvt. Ltd.
on 12/22/14, 1:33 AM


| 5 4 7
Bengaluru, India

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

On 12/22/14, 1:01 AM

I think, you have defined a field incorrectly in the report..

say "fault_code" seems to me incorrect field, perhaps it should be "default_code", a field present in product object specified in Sale order lines....

Do check...

When i take any report the above error is appearing.

on 12/22/14, 1:25 AM

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

2 follower(s)


Asked: 12/10/14, 2:50 AM
Seen: 1041 times
Last updated: 3/16/15, 8:10 AM