Odoo Help

0

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

By
superpan86
on 6/24/15, 12:16 PM 734 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--
6253
| 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

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/24/15, 12:16 PM
Seen: 734 times
Last updated: 6/25/15, 8:52 AM