İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3180 Görünümler

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
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
Üretici

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?

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
May 16
6725
0
Haz 20
2788
7
May 20
6272
5
Haz 17
9005
5
Kas 16
6866