Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2401 Tampilan

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
Buang

What version of odoo are you running?

Penulis

hi Apiuser, i'm using odoo12

Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Okt 23
2215
1
Okt 21
5543
1
Mar 20
3405
1
Nov 24
4764
0
Mar 24
1988