This question has been flagged
1 Reply
6076 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 .

Avatar
Discard

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

Best Answer

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):

-----

------

Avatar
Discard
Author

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