Hi,
My code is as follows:
[odoorpc make connection and retrieve lots of other info]
productModel = odoo.env['product.product']
product_id = productModel.search([('display_name', '=', 'example product')])
Strangely this returns a list with the ids to all products and not only "example product".
I can retrieve all the fields for all the products defined.
What am I missing here?
Kind regards,
Jeroen Baten
I do not have enough karma to upvote the answer from Kanakinfosystems, but that solution is correct. Thanks!
XML RPC: https://learnopenerp.blogspot.com/2019/10/connecting-to-odoo-using-xml-rpc.html