Skip to Content
Menu
This question has been flagged
2513 Views

I imported over 2500 products-supplier assignments via a script and I just noticed that they are displayed wrong in the frontend but the assignment in the database is correct (table product_supplierinfo). Is there a cache somewhere that needs to be cleared, or what could cause such a behavior?


The script that I used looks like that:


//create supplier relation

$models->execute_kw($db, $uid, $password,

'product.supplierinfo', 'create',

array(array('name' => $supplier_relation, 'min_qty' => 0, 'delay' => 10, 'product_tmpl_id' => $product['id'], 'product_code' => $product_code))

);

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 15
3261
1
Mar 15
6255
1
Mar 15
4798
2
Mar 15
3888
5
Feb 24
14253