Commit Graph

4 Commits

Author SHA1 Message Date
Monica Diaz Pena
8f24e9e776 Avoid Access Error when search with suspend security.
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.
2020-01-06 17:17:46 -05:00
Dmytro Katyukha
310b04bccc [FIX] suspend security incorrect uid in env 2019-02-21 15:23:34 +01:00
Frédéric Garbely
61ca98ebe3 [MIG] base_suspend_security: Migration to 11.0 2019-02-21 15:23:34 +01:00
Adrien Peiffer (ACSONE)
e719bc627e [MIG] base_suspend_security to 10.0 (#586) 2019-02-21 15:23:34 +01:00