While printing any report in openerp, got an error: Uncaught TypeError: Cannot read property 'fault_code' of undefined.
How can i solve this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
While printing any report in openerp, got an error: Uncaught TypeError: Cannot read property 'fault_code' of undefined.
How can i solve this?
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 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.