Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2354 มุมมอง

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?


อวตาร
ละทิ้ง

What version of odoo are you running?

ผู้เขียน

hi Apiuser, i'm using odoo12

ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ต.ค. 23
2203
1
ต.ค. 21
5530
1
มี.ค. 20
3398
1
พ.ย. 24
4719
0
มี.ค. 24
1982