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

How can I get the field names from res.partner table

By
superpan86
on 6/24/15, 12:16 PM 605 views

When I evaluate this:

self.pool['object.class'].pool.get('res.partner')._columns

I am inside the model, i can see the fields that I want, but how can I print a list/tuple with these fields??

Any ideas?Thank you in advance

1

zbik

--zbik--
5976
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 6/24/15, 4:40 PM
0
superpan86
On 6/25/15, 8:52 AM

This is really helpful!!!Thank you very much

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: 6/24/15, 12:16 PM
Seen: 605 times
Last updated: 6/25/15, 8:52 AM