Hello,
I'm using the xmlrpc api to update some information on a product.
The "description" field does not seem to be updated and I believe that this behaviour is due to some cache not being flushed.
I have read about the "invalidate_all" method but I don't know how to use it.
Could you help please ?
Hereafter the update code:
productid = models.execute_kw("$db", uid, "$password", 'product.template', 'search', [[['default_code', "=", sku]]])
print(productid)
result = models.execute_kw("$db", uid, "$password", 'product.template', 'write', [productid, {
'name': name,
'list_price': pv,
'standard_price': pa,
'description': description,
'categ_id': categ,
'detailed_type': producttype,
'sale_ok': sale_ok,
'purchase_ok': purchase_ok,
}])