Skip to Content
Menu
This question has been flagged
2 Replies
4321 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
7298
1
máj 24
4321
1
júl 22
2435
2
apr 22
2934
1
mar 22
4131