跳至内容
菜单
此问题已终结
1 回复
3208 查看

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
6773
0
6月 20
2846
7
5月 20
6325
5
6月 17
9062
5
11月 16
6906