Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5200 Lượt xem

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?

Thank you,

Chance

Ảnh đại diện
Huỷ bỏ

Could you post: RML header and footer for your company?

Tác giả

I replaced the RML with the stock template and still get the error.

Did you install a non official module?

Câu trả lời hay nhất

Hello Chance,

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.

Regards, Anil(SerpentCS)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 18
2990
0
thg 9 24
3640
2
thg 7 23
12568
1
thg 12 22
2465
0
thg 6 16
4537