Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3190 มุมมอง

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
6740
0
มิ.ย. 20
2803
7
พ.ค. 20
6293
5
มิ.ย. 17
9023
5
พ.ย. 16
6872