Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5339 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur

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

jup... bole (at) dajmi5.com

Gerelateerde posts Antwoorden Weergaven Activiteit
1
aug. 23
3419
1
mrt. 15
11098
2
mei 25
1153
2
okt. 23
3169
1
apr. 23
3769