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
4409 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
7363
1
maj 24
4387
1
lip 22
2509
2
kwi 22
3026
1
mar 22
4211