Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
5167 Ansichten

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
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Autor

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

Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Okt. 23
5828
7
Juni 21
24492
11
Sept. 19
38273
0
Mai 16
3800
0
Apr. 16
4134