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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
3
paź 23
|
5524 | ||
Datetime in python
Rozwiązane
|
|
7
cze 21
|
24058 | |
|
11
wrz 19
|
37743 | ||
|
0
maj 16
|
3471 | ||
|
0
kwi 16
|
3874 |