Skip to Content
Menu
This question has been flagged
2 Replies
4691 Rodiniai

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

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Autorius

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

Best Answer

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
spal. 23
5403
7
birž. 21
23943
11
rugs. 19
37638
0
geg. 16
3396
0
bal. 16
3821