Document that getter function is called with the record context
This commit is contained in:
1 parent
c8caf77630
commit
17fb714e38
1 file changed
+5
@@ -1099,6 +1099,11 @@ Function
|
||||
|
||||
where ``name`` is the name of the field, and it must return the value.
|
||||
|
||||
.. note::
|
||||
|
||||
The getter function is called with the
|
||||
:attr:`~trytond.model.ModelStorage._context` of the instances.
|
||||
|
||||
.. attribute:: Function.setter
|
||||
|
||||
The name of the classmethod of the :class:`~trytond.model.Model` to set the
|
||||
|
||||
Reference in new issue
Block a user