CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
About This Community
Odoo Training Center
|Asked: 9/17/14, 8:11 AM|
|Seen: 1224 times|
|Last updated: 3/16/15, 8:10 AM|