Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3172 Weergaven

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
Annuleer
Beste antwoord

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

Avatar
Annuleer
Auteur

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?

Gerelateerde posts Antwoorden Weergaven Activiteit
1
mei 16
6721
0
jun. 20
2772
7
mei 20
6271
5
jun. 17
9001
5
nov. 16
6861