Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
4761 Vues

how to write a Python function who is called automatically in openerp without an event or a button, i have writed the function but now i called it with a button, but it must be called automatically

Avatar
Ignorer
Meilleure réponse

If you want to call the function automatically based on some intervals of time, you can create scheduler(Settings/Technical/Scheduler/Scheduled Actions).

Avatar
Ignorer
Auteur

Thanx nehal for your answer but i want to program it with python, if you know hoaw ??

Meilleure réponse

Hi you can write the code for same  Scheduled Actions in odoo in your XML like below.
https://www.youtube.com/watch?v=dS3EVb-Xjms&ab_channel=CybrosysTechnologies


I know its a very late answer and you don't need i anymore but for others who are facing same problem.

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
oct. 23
5502
7
juin 21
24042
11
sept. 19
37727
0
mai 16
3459
0
avr. 16
3866