Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2352 Widoki

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?


Awatar
Odrzuć

What version of odoo are you running?

Autor

hi Apiuser, i'm using odoo12

Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
paź 23
2203
1
paź 21
5530
1
mar 20
3398
1
lis 24
4719
0
mar 24
1982