Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4392 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
7323
1
may 24
4354
1
jul 22
2472
2
abr 22
3000
1
mar 22
4177