Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4575 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
7568
1
mag 24
4527
1
lug 22
2602
2
apr 22
3152
1
mar 22
4374