[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:
Victor Feyens
2023-06-30 10:42:16 +02:00
parent df9e855ee9
commit 9c1e734846
+1 -1
View File
@@ -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: