تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4104 أدوات العرض

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,

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
سبتمبر 24
6919
1
مايو 24
4001
1
يوليو 22
2273
2
أبريل 22
2740
1
مارس 22
3860