Skip to Content
Menu
This question has been flagged
1 Atsakyti
2344 Rodiniai

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?


Portretas
Atmesti

What version of odoo are you running?

Autorius

hi Apiuser, i'm using odoo12

Autorius Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
spal. 23
2201
1
spal. 21
5528
1
kov. 20
3393
1
lapkr. 24
4714
0
kov. 24
1982