跳至内容
菜单
此问题已终结
1 回复
5277 查看

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
3318
1
3月 15
11027
2
5月 25
1101
2
10月 23
3101
1
4月 23
3704