Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4758 Prikazi

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
Opusti
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
Opusti
Avtor

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 Odgovori Prikazi Aktivnost
1
avg. 23
2481
1
mar. 15
10549
2
maj 25
265
2
okt. 23
2472
1
apr. 23
3108