Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4751 Weergaven

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
Annuleer
Beste antwoord

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

Avatar
Annuleer
Auteur

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

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
okt. 23
5502
7
jun. 21
24037
11
sep. 19
37716
0
mei 16
3451
0
apr. 16
3863