I'm trying to see if post_init_hook is possible for creation of ir.cron / Scheduled Action. If it is possible, how to create ir.cron / Scheduled Action in python? Thanks!
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
5
Replies
21115
Tampilan
Look into this: https://www.odoo.yenthevg.com/creating-automated-actions-in-odoo/
Hello,
You can move to Schedule Actions --> Select your cron
Select Model --> sale.order(For Eg.)
Select Action To Do --> Execute Python Code
Below show a page (Python Code)
where you call your method like this model.method_name()
Thanks
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
scheduled tasks ir.cron stops working
Diselesaikan
|
|
3
Okt 24
|
12189 | |
|
1
Mar 23
|
5809 | ||
|
2
Des 22
|
3357 | ||
|
1
Mar 21
|
4059 | ||
|
1
Jun 20
|
4482 |
Do you want to call your function in cron action?
@Manish Kumar Bohra: Yes
Ok