Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4118 มุมมอง

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
6922
Tax codes in Luxemburg แก้ไขแล้ว
1
พ.ค. 24
4003
1
ก.ค. 22
2277
2
เม.ย. 22
2741
1
มี.ค. 22
3865