Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3194 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
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?

Related Posts Odpovědi Zobrazení Aktivita
1
kvě 16
6755
0
čvn 20
2818
7
kvě 20
6302
5
čvn 17
9034
5
lis 16
6884