Odoo Help


How to context.get from another object?

Mohammed Khamis
on 3/9/15, 2:48 AM 1,286 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

on 3/9/15, 6:28 AM



| 5 3 8
Pondicherry, India
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

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.


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)


Asked: 3/9/15, 2:48 AM
Seen: 1286 times
Last updated: 3/16/15, 8:10 AM