tejastank/openerp-php-connector

Get data by many2one id

damNor opened this issue · 1 comments

Hi, i'm trying to get some data on product.product model based on categ_id value , where categ_id is many2one field in product.product model. How can achieve that with this connector ?
I have try this
$rpc->searchread( array( array('categ_id','=','663' ) ),"product.product",array(
'categ_id',
'display_name',
'lst_price',
'name',
'taxes_id',
'weight',
),0,100);
and still has no luck. Please help me. Thanks

array( array('categ_id','=', 663 ) ), let me know in case this not work.

Please let me know which version of odoo you have.

Also check error reporting when not work, please share more details on traceback or error.

You can check openerp/odoo server log for more tracking.