Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
909 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 25
508
1
ส.ค. 25
707
2
ก.ค. 25
3244
API xmlrpc - upload pdf bills to account แก้ไขแล้ว
3
ก.ค. 25
869
1
มิ.ย. 25
2396