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

Hello,
i needed to create a custom cron job that change de default code of my product but when i checked the "Scheduled Actions" list i found out that none of my actions is working.
on logs we found : 

odoo.addons.base.ir.ir_cron: Starting job `Action name`.

odoo.addons.base.ir.ir_cron: Job `Action name` done.

to be sure that the action don't run i made it as simple as this :
@api.model

def affect_default_code(sefl):

print ("hello world")


still nothing is being printed .
please can someone help me fix this 

形象
丢弃
最佳答案
Hi Ben messaoud Ahmed,

It should work. I was having the same problem, then I found this Youtube video:
https://www.youtube.com/watch?v=_P_AVSNr6uU
If you followed it you should be able to see your "hello world" message.

Cheers.

形象
丢弃
最佳答案

Hi,

Please use the following link for information about scheduled actions

Scheduled Actions in Odoo

形象
丢弃
相关帖文 回复 查看 活动
2
4月 23
2720
0
3月 15
5449
1
3月 15
5738
0
5月 20
3817
0
5月 21
3491