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:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
            
                5
                
                    Cevaplar
                
            
        
        
            
                22102
                
                    Görünümler
                
            
        
    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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|  | 3 Eki 24  | 14203 | ||
|  | 1 Mar 23  | 6350 | ||
|  | 2 Ara 22  | 3862 | ||
|  | 1 Mar 21  | 4647 | ||
|  | 1 Haz 20  | 4859 | 
 
                        
Do you want to call your function in cron action?
@Manish Kumar Bohra: Yes
Ok