تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
904 أدوات العرض

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
أغسطس 25
505
1
أغسطس 25
706
2
يوليو 25
3240
3
يوليو 25
868
1
يونيو 25
2388