Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
5717 Visualizações
Melhor resposta

Hello Moubou

Try this

self.with_context(invoice_id=active_ids)

Hope this help.

Avatar
Cancelar
Autor

Thank You Bhavik

Melhor resposta

use  context['active_ids'] in v7 and in odoo8 and 9 use  self._context['active_ids']

Avatar
Cancelar
Autor

Thank You Parkash

Publicações relacionadas Respostas Visualizações Atividade
2
set. 15
4794
0
mai. 15
3255
2
nov. 23
18855
2
jan. 19
4287
1
dez. 17
3786