I have a model contribution_period
In the method create_payment_requests, I want to create a line in the model member_payment per record in member_active. Is it possible?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I have a model contribution_period
In the method create_payment_requests, I want to create a line in the model member_payment per record in member_active. Is it possible?
Hi Louis:
Yes you can call methods of other models. Here's an example of the "_get_mto_route" method of model "stock.warehouse" being called from the "_check_routing" method of model "sale_order_line".
https://github.com/odoo/odoo/blob/8.0/addons/sale_stock/sale_stock.py#L291
You may also find the following documentation useful to understand the concepts involved.
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Agu 25
|
478 | ||
|
2
Jul 25
|
2901 | ||
API xmlrpc - upload pdf bills to account
Diselesaikan
|
|
3
Jul 25
|
683 | |
|
1
Jun 25
|
2161 | ||
How do I get Product Prices with json API?
Diselesaikan
|
|
1
Agu 25
|
1054 |