Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3265 Представления

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
6856
0
июн. 20
2895
7
мая 20
6416
5
июн. 17
9146
5
нояб. 16
7016