details:   https://code.tryton.org/tryton/commit/ef20db7f72fa
branch:    default
user:      Cédric Krier <[email protected]>
date:      Thu Apr 23 00:57:30 2026 +0200
description:
        Document the usage of active_test in the context for 
ModelSQL.search_domain
diffstat:

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

diffs (12 lines):

diff -r 91280bf93224 -r ef20db7f72fa trytond/doc/ref/models.rst
--- a/trytond/doc/ref/models.rst        Tue Apr 14 15:19:59 2026 +0200
+++ b/trytond/doc/ref/models.rst        Thu Apr 23 00:57:30 2026 +0200
@@ -745,6 +745,8 @@
 
    If ``active_test`` is set to ``False``, no clause against
    :attr:`DeactivableMixin.active` field is added to the domain.
+   If it is set to ``None`` the value of the ``active_test`` key in
+   :attr:`~trytond.transaction.Transaction.context` is used.
 
    .. _ref-tables:
 

Reply via email to