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 to context.get from another object?

By
Mohammed Khamis
on 3/9/15, 2:48 AM 768 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--
3458
| 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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