mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
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.
796 B
796 B