Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4180 Переглядів

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.

Аватар
Відмінити
Найкраща відповідь

Hello Fleixi,

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

Cheers! 

Аватар
Відмінити
Найкраща відповідь

Hello Fleixi, 

In wirte method you have current record in self.

so use self. you got complete record in self,

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
вер. 24
7079
Tax codes in Luxemburg Вирішено
1
трав. 24
4151
1
лип. 22
2342
2
квіт. 22
2837
1
бер. 22
3947