Skip to Content
Menú
This question has been flagged
1 Respondre
5192 Vistes

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?

Avatar
Descartar
Best Answer

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

 

Avatar
Descartar
Autor

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

jup... bole (at) dajmi5.com

Related Posts Respostes Vistes Activitat
1
d’ag. 23
3237
1
de març 15
10944
2
de maig 25
901
2
d’oct. 23
3013
1
d’abr. 23
3542