跳至内容
菜单
此问题已终结
2 回复
4746 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
3
10月 23
5497
7
6月 21
24033
11
9月 19
37707
0
5月 16
3451
0
4月 16
3860