Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4209 Zobrazení

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šit
Nejlepší odpověď

Hello Fleixi,

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

Cheers! 

Avatar
Zrušit
Nejlepší odpověď

Hello Fleixi, 

In wirte method you have current record in self.

so use self. you got complete record in self,

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
zář 24
7124
1
kvě 24
4200
1
čvc 22
2351
2
dub 22
2844
1
bře 22
4000