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
Esta pergunta foi sinalizada
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.
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
3
out. 23
|
7046 | ||
|
Datetime in python
Resolvido
|
|
7
jun. 21
|
25865 | |
|
|
11
set. 19
|
39892 | ||
|
|
0
mai. 16
|
4918 | ||
|
|
0
abr. 16
|
5193 |