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
- 프로젝트
- MRP
신고된 질문입니다
            
                5
                
                    답글
                
            
        
        
            
                22121
                
                    화면
                
            
        
    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  | 14216 | ||
|  | 1 3월 23  | 6354 | ||
|  | 2 12월 22  | 3875 | ||
|  | 1 3월 21  | 4667 | ||
|  | 1 6월 20  | 4869 | 
 
                        
Do you want to call your function in cron action?
@Manish Kumar Bohra: Yes
Ok