Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1689 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mag 23
20175
3
ago 25
2917
1
mag 25
2811
1
apr 25
3773
1
apr 25
4645