Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Most of the OpenERP reports are giving generating this error:
Field 'invoice_line' does not exist in object 'browse_record(res.partner, 451)'
(<type 'exceptions.attributeerror'="">, AttributeError(KeyError("Field 'invoice_line' does not exist in object 'browse_record(res.partner, 451)'",),), <traceback object="" at="" 0x7fa8a1802200="">)
The issue has been traced to the header/footer. Under Company - Edit, clicking Preview Header/Footer, it will fail with this error. Every report that uses a header fails.
I've tried replacing the RML with the stock versions. And I can't find any reference to invoice_line.
Where else can I look to find an error related to the header/footer?
Have you added any custom module in your addons?
If you have added than might be possibly that module is browsing field invoice_line from res partner object.
res partner doesnât have that field so this error raised so please make clean your addons module and check your custom module.
Hope this will help.
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 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
|Asked: 11/14/13, 5:08 PM|
|Seen: 1181 times|
|Last updated: 3/16/15, 8:10 AM|