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

Hello,

I'm looking forward to implement a "services" database with v7, on which i would like to store different services of different kinds. Service1 would have some fields that Service2 wouldn't have, and Service3 might have totally different fields except the inherited ones.

I imagine i could write a generic Service class that would be inherited by the more specific classes corresponding to the actual services.

I wonder if it's the proper way to do it, and i'm looking for examples of such a way to handle a set of related objects in an unified way.

Thank you AJ

الصورة الرمزية
إهمال
الكاتب

I've found a similar question here http://forum.openerp.com/forum/topic26730.html , it gives me a starting point

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 24
9605
3
سبتمبر 24
21865
5
ديسمبر 24
53173
4
يوليو 24
10683
7
أغسطس 23
11101