Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3179 Ansichten

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
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Autor

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?

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Mai 16
6725
0
Juni 20
2788
7
Mai 20
6272
5
Juni 17
9005
5
Nov. 16
6865