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
4215 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
7131
1
maj 24
4206
1
lip 22
2354
2
kwi 22
2860
1
mar 22
4005