Odoo Help


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

Techno-Functional Associate with 7+ 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

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

2 follower(s)


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