跳至內容
選單
此問題已被標幟
1 回覆
2346 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
10月 23
2202
1
10月 21
5528
1
3月 20
3393
1
11月 24
4714
0
3月 24
1982