Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
5168 Visualizzazioni

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
Abbandona
Risposta migliore

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

Avatar
Abbandona
Autore

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

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
ott 23
5828
7
giu 21
24506
11
set 19
38278
0
mag 16
3803
0
apr 16
4139