[DOC] base: more explicit documentation

compute_sudo has no effects on non stored computed fields.
It was technically already said in the previous lines (REcomputed) but
it was not particularly explicit

closes odoo/odoo#31320
This commit is contained in:
Moens Alexandre
2019-02-21 13:00:47 +00:00
parent a874858981
commit 21e44d472d
+1
View File
@@ -157,6 +157,7 @@ class Field(MetaField('DummyField', (object,), {})):
:param compute_sudo: whether the field should be recomputed as superuser
to bypass access rights (boolean, by default ``False``)
Note that this has no effects on non-stored computed fields
The methods given for ``compute``, ``inverse`` and ``search`` are model
methods. Their signature is shown in the following example::