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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
2
الردود
4104
أدوات العرض
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 | ||
Tax codes in Luxemburg
تم الحل
|
|
1
مايو 24
|
4001 | |
|
1
يوليو 22
|
2273 | ||
|
2
أبريل 22
|
2740 | ||
|
1
مارس 22
|
3860 |