Skip to Content
Menu
This question has been flagged
1618 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
máj 23
19722
3
aug 25
2467
1
máj 25
2582
1
apr 25
3547
1
apr 25
4392