跳至內容
選單
此問題已被標幟
1 回覆
877 瀏覽次數

We try to create a product.category from external api. 


The code was: 

$id = $models->execute_kw(oddo_db, oddo_uid, oddo_password, 'product.category', 'create', array("name"=>"hola"));


The problem is not with the connection because if I do a search it works correctly


This instruction does not create anything for me and the return value is blank and I do not get any error.


Anyone can help me? 


頭像
捨棄
最佳答案

Hi, 

Please check the logs in odoo. Possible problem is related to access rights or required fields on product.category aside from field name.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 25
482
1
8月 25
693
2
7月 25
3225
3
7月 25
847
1
6月 25
2377