تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1622 أدوات العرض

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
مايو 23
19744
3
أغسطس 25
2503
1
مايو 25
2585
1
أبريل 25
3553
1
أبريل 25
4400