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.
此问题已终结
2
回复
5640
查看
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,
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
1
9月 24
|
9164 | ||
|
|
1
5月 24
|
6225 | ||
|
|
1
7月 22
|
3436 | ||
|
|
2
4月 22
|
4069 | ||
|
|
1
3月 22
|
5600 |