Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4387 Visualizzazioni

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
Abbandona
Risposta migliore

Hello Fleixi,

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

Cheers! 

Avatar
Abbandona
Risposta migliore

Hello Fleixi, 

In wirte method you have current record in self.

so use self. you got complete record in self,

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
set 24
7322
1
mag 24
4347
1
lug 22
2471
2
apr 22
2999
1
mar 22
4176