跳至內容
選單
此問題已被標幟
1605 瀏覽次數

Hello,


When I update a product in product.template via xmlrpc I try to flush the cache using:

"models.execute_kw(db, uid, password, 'product.template', 'clear_caches', [[]])"

but I get the following error:

"BaseModel.clear_caches() takes 1 positional argument but 2 were given"


Could anyone help please ?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
5月 23
19691
3
8月 25
2412
1
5月 25
2571
1
4月 25
3536
1
4月 25
4384