Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4094 Vistas

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
Descartar
Mejor respuesta

Hello Fleixi,

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

Cheers! 

Avatar
Descartar
Mejor respuesta

Hello Fleixi, 

In wirte method you have current record in self.

so use self. you got complete record in self,

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 24
6915
1
may 24
3999
1
jul 22
2269
2
abr 22
2739
1
mar 22
3854