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

I am extending sale class.

As it is coded in OLD API, I guess it is easier to follow the OLD API conventions.

- Should I use osv.osv or osv.Model and why?

 

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

Hi, 

There is no difference they're the same ...


Check this line and this question  ...

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

Which one is deprecated? osv.osv or osv.Model? (in old API)

أفضل إجابة

Yes, old api convention is applicable for the sale.order object. 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 17
14175
1
أغسطس 25
610
1
أغسطس 25
767
2
يوليو 25
3343
3
يوليو 25
934