Skip to Content
Menu
This question has been flagged
1 Odpoveď
7901 Zobrazenia

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
Zrušiť

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
Zrušiť
Autor

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

Related Posts Replies Zobrazenia Aktivita
2
aug 22
6737
4
máj 22
34722
0
nov 17
6568
4
sep 17
25371
0
feb 16
5413