Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3187 Tampilan

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!

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Penulis

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?

Post Terkait Replies Tampilan Aktivitas
1
Mei 16
6735
0
Jun 20
2799
7
Mei 20
6284
5
Jun 17
9023
5
Nov 16
6870