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

I like to execute some custom code after a res.partner is updated. Therefor i have overridden the write method. Badly i need the complete record not only the changed values. How do i get this record.

Avatar
Cancelar
Melhor resposta

Hello Fleixi,

In write method you can use self  to get the current record

Cheers! 

Avatar
Cancelar
Melhor resposta

Hello Fleixi, 

In wirte method you have current record in self.

so use self. you got complete record in self,

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
set. 24
6925
1
mai. 24
4011
1
jul. 22
2280
2
abr. 22
2742
1
mar. 22
3876