Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4142 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

Hello Fleixi,

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

Cheers! 

Awatar
Odrzuć
Najlepsza odpowiedź

Hello Fleixi, 

In wirte method you have current record in self.

so use self. you got complete record in self,

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 24
6951
1
maj 24
4036
1
lip 22
2292
2
kwi 22
2766
1
mar 22
3899