Hello, right now im using the external API provided by Odoo with python using the xmlrpc.client module to make some automatic reports by fetching and filtering the model product.product, the problem I'm having is that whenever I fetch data I get the inventories of both companies that my user can access, when instead I'm only looking to fetch the data from one of the companies.
I've already tried adding a company_id domain, this doesn't work since the product.product.company_id is shared between both companies that access said product
I've noticed also that when using the web page and selecting only one company the url extension is something like this:
'/web#cids={COMPANY_ID_I_WANT}&model=product.product&view_type=list'
but when selecting both companies the url extension is something like this:
'/web#cids={COMPANY_ID_I_WANT}%2C{COMPANY_ID_I_DONT_WANT}&model=product.product&view_type=list'
any ideas on how i could filter this information out?