Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
7971 Vues

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
Ignorer

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

Meilleure réponse

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
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
2
août 22
6774
4
mai 22
34845
0
nov. 17
6602
4
sept. 17
25404
0
févr. 16
5455