changeset dec0a57b1d90 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset&node=dec0a57b1d90
description:
        Support _write, _delete and _timestamp values when set from default 
value

        issue11012
        review372751002
diffstat:

 doc/ref/models.rst |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 51164f435179 -r dec0a57b1d90 doc/ref/models.rst
--- a/doc/ref/models.rst        Sun Apr 10 19:10:14 2022 +0200
+++ b/doc/ref/models.rst        Mon Apr 11 12:48:41 2022 +0200
@@ -285,6 +285,11 @@
    ``.``.
    The number of *dots* in the name is not limited.
 
+   The virtual fields ``_write`` and ``_delete`` can be used the read the
+   writeable and deleteable state of the records.
+   Regarding the ``_timestamp`` virtual fields it contains a timestamp that is
+   used in the context to make a soft lock preventing update collisions.
+
    .. note::
       The order of the returned list is not guaranteed.
 

Reply via email to