Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1619 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
19727
3
ago 25
2470
1
mag 25
2584
1
apr 25
3548
1
apr 25
4393