Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2373 Weergaven

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
Annuleer

What version of odoo are you running?

Auteur

hi Apiuser, i'm using odoo12

Auteur Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
okt. 23
2208
1
okt. 21
5534
1
mrt. 20
3403
1
nov. 24
4722
0
mrt. 24
1985