跳至內容
選單
此問題已被標幟
1 回覆
3381 瀏覽次數

Hello, I have Odoo 8. I want to create a custom report showing the "credit" field of the partners. This is a function field, so when I try to show this in the report I get the error "the field 'credit' does not exist".

How can I display a function field in a report?

Thanks!

頭像
捨棄
最佳答案

Add the attribute store=True in the field definition and try

頭像
捨棄
作者

Yes, it works, but is there any problem using store=True without specifying the fields that depends on?

I don't think there is any problem for using like that. You have used that attribute on "credit" field definition in the python file right?

相關帖文 回覆 瀏覽次數 活動
1
5月 16
7105
0
6月 20
3078
7
5月 20
6613
5
6月 17
9303
5
11月 16
7133