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

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
20798
5
سبتمبر 25
22201
3
أغسطس 25
3251
1
مايو 25
3102
1
أبريل 25
4073