Skip to content
Permalink
Browse files

[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 #31320
  • Loading branch information...
mao-odoo committed Feb 21, 2019
1 parent a874858 commit 21e44d472dba0810bb7e8cc1d74d29ec3456ec95
Showing with 1 addition and 0 deletions.
  1. +1 −0 odoo/fields.py
@@ -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::

0 comments on commit 21e44d4

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.