تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
15751 أدوات العرض

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
أبريل 23
2900
0
مارس 15
5576
1
مارس 15
5870
0
مايو 20
3943
0
مايو 21
3676