Skip to Content
Menú
This question has been flagged
1 Respondre
3189 Vistes

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
Descartar
Best Answer

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

Avatar
Descartar
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 Respostes Vistes Activitat
1
de maig 16
6738
0
de juny 20
2801
7
de maig 20
6292
5
de juny 17
9023
5
de nov. 16
6871