When OdooRPC dynamically fetches more information (i.e. when accessing .partner_id.name), if the instance has been instantiated using with_context, this context is not passed along and can lead to unwanted results (i.e when using with_context(allowed_company_ids=[1,2,3]))
When OdooRPC dynamically fetches more information (i.e. when accessing.partner_id.name), if the instance has been instantiated using
with_context
, this context is not passed along and can lead to unwanted results (i.e when using with_context(allowed_company_ids=[1,2,3]))This fix allows to pass such context information.