Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
5194 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Автор

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

Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
жовт. 23
5849
Datetime in python Вирішено
7
черв. 21
24551
11
вер. 19
38348
0
трав. 16
3834
0
квіт. 16
4161