diff --git a/base_multi_company/models/multi_company_abstract.py b/base_multi_company/models/multi_company_abstract.py index f095ba6f1db..58adc8904de 100644 --- a/base_multi_company/models/multi_company_abstract.py +++ b/base_multi_company/models/multi_company_abstract.py @@ -112,9 +112,13 @@ def _name_search(self, name, domain=None, operator="ilike", limit=None, order=No ) @api.model - def search_read(self, domain=None, fields=None, offset=0, limit=None, order=None): + def search_read( + self, domain=None, fields=None, offset=0, limit=None, order=None, **read_kwargs + ): new_domain = self._patch_company_domain(domain) - return super().search_read(new_domain, fields, offset, limit, order) + return super().search_read( + new_domain, fields, offset, limit, order, **read_kwargs + ) @api.model def search(self, domain, offset=0, limit=None, order=None):