İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4892 Görünümler

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
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
Üretici

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

En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Eki 23
5576
7
Haz 21
24157
11
Eyl 19
37910
0
May 16
3541
0
Nis 16
3935