self._ids is expected to be a tuple instance, using that on SQL queries
will raise a `psycopg2.ProgrammingError: syntax error at or near "ARRAY"`.
Add test.
The Odoo `_search` function performs a `sudo` on the first line of its
implementation, causing that the uid's wrapper (class BaseSuspendSecurityUid) is lost.
This is evidenced when a function with suspend security is called and in
its implementation needs the values of a 'one2many' field (it does a
`search` in another model without reading access) an Access Error is raised.
On 9af8b31d921dcccb7bcf230271fd3ef4R4329, a new keyword argument was added
for `_browse`, so any overriding needs to add that argument, as it's the case
for this module.