Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3168 Visualizzazioni

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
Abbandona
Risposta migliore

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

Avatar
Abbandona
Autore

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 correlati Risposte Visualizzazioni Attività
1
mag 16
6714
0
giu 20
2769
7
mag 20
6258
5
giu 17
8990
5
nov 16
6853