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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/17/14, 8:11 AM|
|Seen: 812 times|
|Last updated: 3/16/15, 8:10 AM|