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
  • Loading branch information...
mao-odoo committed Feb 21, 2019
1 parent ad97601 commit 7a9fe3a3c03cf3f2aa23e2eaa93f5efaecd780c3
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 7a9fe3a

Please sign in to comment.
You can’t perform that action at this time.