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?
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.
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
0
มิ.ย. 26
|
3 | |||
|
1
พ.ค. 26
|
1198 | |||
|
0
พ.ค. 26
|
32 | |||
|
0
พ.ค. 26
|
4 | |||
|
0
เม.ย. 26
|
28 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.