This question has been flagged
1 Reply
3324 Views

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

How can i solve this?

Avatar
Discard

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

Best Answer

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

Avatar
Discard
Author

When i take any report the above error is appearing.