Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3183 Widoki

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!

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
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?

Powiązane posty Odpowiedzi Widoki Czynność
1
maj 16
6730
0
cze 20
2790
7
maj 20
6276
5
cze 17
9008
5
lis 16
6868