跳至內容
選單
此問題已被標幟
3513 瀏覽次數

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))

);

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 15
4410
1
2月 25
7555
1
3月 15
5802
2
3月 15
5261
5
2月 24
15538