Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
893 Zobrazení

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? 


Avatar
Zrušit
Nejlepší odpověď

Hi, 

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 25
489
1
srp 25
696
2
čvc 25
3226
3
čvc 25
853
1
čvn 25
2378