コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5391 ビュー

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
8月 23
3471
1
3月 15
11132
2
5月 25
1198
2
10月 23
3195
1
4月 23
3819