콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4903 화면

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
2711
1
3월 15
10673
2
5월 25
451
2
10월 23
2609
1
4월 23
3199