İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2395 Görünümler

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
Vazgeç

What version of odoo are you running?

Üretici

hi Apiuser, i'm using odoo12

Üretici En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eki 23
2211
1
Eki 21
5539
1
Mar 20
3404
1
Kas 24
4732
0
Mar 24
1986