Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
16371 Zobrazení

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 

Avatar
Zrušit
Nejlepší odpověď
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.

Avatar
Zrušit
Nejlepší odpověď

Hi,

Please use the following link for information about scheduled actions

Scheduled Actions in Odoo

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
dub 23
3315
0
bře 15
5946
1
bře 15
6306
0
kvě 20
4243
0
kvě 21
4084