Hi there,
I'm coding a small interface synchronisation between Odoo V9 and other ERP. Everything is working fine except for the public category ids.
Here's my field:
$fields = array( 'name' => 'test', 'default_code' => '1111', 'public_categ_ids' => array( 81 ) );$odoo->create_product('product.product', $fields);public function create_product($model, $fields){
$create = $this->ripcord_models->execute_kw($this->db, $this->uid, $this->password, $model, 'create', array( $fields )) ;
}
And here's the result (using xmlrpc debug):
DEBUG? openerp.http.rpc.request: 'name': 'test',
DEBUG? openerp.http.rpc.request: 'default_code': '1111',
DEBUG? openerp.http.rpc.request: 'public_categ_ids': [81],
All other fields are correctly set (name, default_code, etc.) but not the public_categ_ids and i don't have any error....
Do someone has any clue for me?
Thank you