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

Why after definition of some python classes stands constructor call, for example in purchase module after class purchase_order_line there is line purchase_order_line(), and after purchase_order is not?

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

calling a class after defining it like is a leftover wich is not in use since v6 ...
still you can find lots of old modules that are using that, but technicaly... that calls the uper named class after reading it.. .
so no need for that part of code... (also no big harm in using it)

hope it helps

 

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

Bole, da li te mogu kontaktirati u vezi par pitanja koje mi je lakse ispricati na nasem jeziku?

jup... bole (at) dajmi5.com

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 23
3293
1
مارس 15
10999
2
مايو 25
1007
2
أكتوبر 23
3056
1
أبريل 23
3624