Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Use a function field in a Odoo report

By
José
on 4/26/16, 7:52 AM 331 views

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!

1

Akhil P Sivan

--Akhil P Sivan--
3423
| 5 3 6
Kochi, India
--Akhil P Sivan--

Interested in exploring Odoo both technically & functionality wise.

email-id : akhilpsivan01@gmail.com

Akhil P Sivan
On 4/26/16, 7:59 AM

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?

José
on 4/26/16, 8:44 AM

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?

Akhil P Sivan
on 4/27/16, 2:17 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/26/16, 7:52 AM
Seen: 331 times
Last updated: 4/26/16, 7:59 AM