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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
5
Réponses
21092
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
3
oct. 24
|
12161 | ||
|
1
mars 23
|
5798 | ||
|
2
déc. 22
|
3333 | ||
|
1
mars 21
|
4049 | ||
|
1
juin 20
|
4466 |
Do you want to call your function in cron action?
@Manish Kumar Bohra: Yes
Ok