Odoo Help

0

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

By
rosey
on 12/10/14, 2:50 AM 1,232 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
0

deep

--deep--
1781
| 5 5 7
Bengaluru, India
--deep--

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

deep
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.

rosey
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.

Register

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)

Stats

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