Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
7798 Visualizações

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
Cancelar

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

Melhor resposta

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
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
2
ago. 22
6672
4
mai. 22
34599
0
nov. 17
6478
4
set. 17
25275
0
fev. 16
5349