Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4144 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
6957
1
mag 24
4036
1
lug 22
2292
2
apr 22
2768
1
mar 22
3902