Skip to Content
Menu
This question has been flagged
1613 Views

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 ?

Avatar
Discard
Related Posts Replies Views Activity
2
May 23
19712
3
Aug 25
2454
1
May 25
2578
1
Apr 25
3540
1
Apr 25
4387