Odoo Help

0

Supplier Assignment is wrong in Odoo Frontend but correct in Database

By
Michael Aigner
on 10/8/15, 12:38 PM 445 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))

);

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 10/8/15, 12:38 PM
Seen: 445 times
Last updated: 10/8/15, 12:38 PM