Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2377 Visualizações

I have created a schedule action when I click on Run manually: my code is completely done. But in schedule time, my code looks like not running.

Is it cause my code running in about 1 minute? or Is there a limit for schedule action in odoo?


Avatar
Cancelar

What version of odoo are you running?

Autor

hi Apiuser, i'm using odoo12

Autor Melhor resposta

It's my fault cause I'm using this 

base_url = request.env['ir.config_parameter'].sudo().get_param('web.base.url')

sudo() is the problem. It needs someone to action this. Schedule run by Odoo Bot

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
out. 23
2209
1
out. 21
5535
1
mar. 20
3403
1
nov. 24
4728
0
mar. 24
1986