Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4127 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Fleixi,

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

Cheers! 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Fleixi, 

In wirte method you have current record in self.

so use self. you got complete record in self,

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 24
6929
1
thg 5 24
4014
1
thg 7 22
2280
2
thg 4 22
2742
1
thg 3 22
3879