Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3255 Переглядів

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!

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Автор

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 Відповіді Переглядів Дія
1
трав. 16
6847
0
черв. 20
2891
7
трав. 20
6407
5
черв. 17
9131
5
лист. 16
6997