[FIX] core: wrong docstring
closes odoo/odoo#126890 X-original-commit: cd6ed74ab9da0127dcb517177744b44ffcd8558a Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
+1
-1
@@ -3066,7 +3066,7 @@ class BaseModel(metaclass=MetaModel):
|
||||
:return: provided fields if fields is truthy (or the fields
|
||||
readable by the current user).
|
||||
:rtype: list
|
||||
:raise AccessDenied: if the user is not allowed to access
|
||||
:raise AccessError: if the user is not allowed to access
|
||||
the provided fields.
|
||||
"""
|
||||
if self.env.su:
|
||||
|
||||
Reference in New Issue
Block a user