Skip to Content
Menu
This question has been flagged
2 Replies
4109 Zobrazenia

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
Zrušiť
Best Answer

Hello Fleixi,

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

Cheers! 

Avatar
Zrušiť
Best Answer

Hello Fleixi, 

In wirte method you have current record in self.

so use self. you got complete record in self,

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
sep 24
6921
1
máj 24
4002
1
júl 22
2276
2
apr 22
2741
1
mar 22
3863