Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4310 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
7278
1
may 24
4314
1
jul 22
2430
2
abr 22
2933
1
mar 22
4114