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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Agu 23
|
3414 | ||
|
1
Mar 15
|
11091 | ||
|
2
Mei 25
|
1143 | ||
2 sequence combing for multiple company
Diselesaikan
|
|
2
Okt 23
|
3162 | |
|
1
Apr 23
|
3762 |