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
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
5
답글
21084
화면
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
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
3
10월 24
|
12156 | ||
|
1
3월 23
|
5793 | ||
|
2
12월 22
|
3330 | ||
|
1
3월 21
|
4038 | ||
|
1
6월 20
|
4465 |
Do you want to call your function in cron action?
@Manish Kumar Bohra: Yes
Ok