Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2384 Lượt xem

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?


Ảnh đại diện
Huỷ bỏ

What version of odoo are you running?

Tác giả

hi Apiuser, i'm using odoo12

Tác giả Câu trả lời hay nhấ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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 23
2209
1
thg 10 21
5535
1
thg 3 20
3403
1
thg 11 24
4728
0
thg 3 24
1986