Add documentation about RPC.unique

issue7567
review52411002
This commit is contained in:
Cédric Krier committed 2018-07-16 14:49:34 +02:00
1 parent 45a5984a0e
commit bc768136d0
1 file changed
+5 -1
+5 -1
View File
@@ -5,7 +5,7 @@
RPC
===
.. class:: RPC([readonly[, instantiate[, result[, check_access]]]])
.. class:: RPC([readonly[, instantiate[, result[, check_access[, unique]]]]])
RPC is an object to define the behavior of Remote Procedur Call.
@@ -27,3 +27,7 @@ Instance attributes are:
Set `_check_access` in the context to activate the access right on model
and field. Default is `True`.
.. attribute:: RPC.unique
If set, it ensures the instantiated records are unique. Default is `True`.