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

I need to override the functions defined in osv.AbstractModel in openerp, is it possible to achieve? or is there any workaround to achieve this scenario

الصورة الرمزية
إهمال
أفضل إجابة

Yes!!, You can Inherit those methods, in your target Object...

For Example:

Crm.Lead inherits an AbtractModel called "Mail.Thread"..

Hence, you can inherit/override Mail.Thread methods in Crm.Lead Object..

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
4
مارس 24
3902
1
أكتوبر 23
5785
1
يونيو 22
7053
4
يونيو 21
16332
2
أغسطس 17
12974