Odoo Help

0

How to context.get from another object?

By
Mohammed Khamis
on 3/9/15, 2:48 AM 845 views

I try to context.get field but but this field found in another object and I want Use it In Tree View. please help me how can I make this .

thank you so much .

what does it mean context.get from another object? context isn't part of object

Temur
on 3/9/15, 6:28 AM
0

Vasanth

--Vasanth--
Vasanth
3468
| 5 3 8
Pondicherry, India
--Vasanth--
Vasanth
On 3/9/15, 4:17 AM

Hi Mohammed.

try this:

inv_obj = self.pool.get('account.invoice')

for inv in inv_obj.browse(cr, uid, context.get('active_ids'), context=context):

-----

------

thank you so much for your attention but I want this in tree view how can I make it

Mohammed Khamis
on 3/9/15, 4:22 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 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: 3/9/15, 2:48 AM
Seen: 845 times
Last updated: 3/16/15, 8:10 AM